diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 23:10:13 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 17:36:01 +0000 |
commit | ad13e605ea7608b417100ba68816e206874f7f50 (patch) | |
tree | 08a5ec35a9760c449278b4058f7eea57e11b73c2 /main/libogg/APKBUILD | |
parent | c71724cee18e915dd7a721701e1865b12f9c5ffe (diff) | |
download | aports-ad13e605ea7608b417100ba68816e206874f7f50.tar.bz2 aports-ad13e605ea7608b417100ba68816e206874f7f50.tar.xz |
main/libogg: fix license, add test suite
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 |