aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmad/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libmad/APKBUILD')
-rw-r--r--main/libmad/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/libmad/APKBUILD b/main/libmad/APKBUILD
index f48894aed1..46eebdb080 100644
--- a/main/libmad/APKBUILD
+++ b/main/libmad/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmad
pkgver=0.15.1b
-pkgrel=1
+pkgrel=2
pkgdesc="A high-quality MPEG audio decoder"
url="http://www.underbit.com/products/mad/"
license="GPL"
@@ -31,6 +31,10 @@ build ()
--enable-accuracy
make -j1 || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m644 "$srcdir"/mad.pc "$pkgdir"/usr/lib/pkgconfig/mad.pc
}