iglunix/pkgs/anthy/build.sh
2021-06-27 13:28:15 +00:00

28 lines
482 B
Bash

pkgname=anthy
pkgver=9100h
fetch() {
curl -L "https://ftp.halifax.rwth-aachen.de/osdn/anthy/37536/anthy-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$(echo $TRIPLE | sed 's/musl/gnu/g') \
--host=$(echo $TRIPLE | sed 's/musl/gnu/g')
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}