From ad13e605ea7608b417100ba68816e206874f7f50 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 10 Feb 2018 23:10:13 -0600 Subject: main/libogg: fix license, add test suite --- main/libogg/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'main/libogg') 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 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 -- cgit v1.2.3