28 lines
436 B
Bash
28 lines
436 B
Bash
pkgname=libass
|
|
pkgver=0.15.0
|
|
|
|
fetch() {
|
|
curl -L "https://github.com/libass/libass/releases/download/0.15.0/libass-0.15.0.tar.xz" -o $pkgname-$pkgver.tar.xz
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr \
|
|
--build=$TRIPLE \
|
|
--host=$TRIPLE \
|
|
--disable-asm
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make install DESTDIR=$pkgdir
|
|
}
|
|
|
|
license() {
|
|
cd $pkgname-$pkgver
|
|
cat COPYING
|
|
}
|