diff options
Diffstat (limited to 'main/libogg/APKBUILD')
-rw-r--r-- | main/libogg/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/libogg/APKBUILD b/main/libogg/APKBUILD index f7ab3735cb..1430f79859 100644 --- a/main/libogg/APKBUILD +++ b/main/libogg/APKBUILD @@ -2,12 +2,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libogg pkgver=1.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="Ogg bitstream and framing library" url="https://xiph.org/ogg/" arch="all" -license="BSD" -options="!check" # no tests available +license="BSD-3-Clause" subpackages="$pkgname-doc $pkgname-dev" source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -22,9 +21,13 @@ build() { make } -package() { +check() { cd "$builddir" + make check +} +package() { + cd "$builddir" make -j1 DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING |