diff options
Diffstat (limited to 'main/flac/APKBUILD')
-rw-r--r-- | main/flac/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/main/flac/APKBUILD b/main/flac/APKBUILD index a5626e1c44..03806b59df 100644 --- a/main/flac/APKBUILD +++ b/main/flac/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=flac pkgver=1.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Free Lossless Audio Codec" url="http://flac.sourceforge.net/" license="custom:Xiph LGPL GPL FDL" subpackages="$pkgname-dev $pkgname-doc" -depends="uclibc libogg" -makedepends="libogg-dev" +depends= +makedepends="libogg-dev !libiconv" source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz " @@ -23,6 +23,10 @@ build () { --disable-cpplibs \ --with-pic || return 1 make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver || return 1 make DESTDIR="$pkgdir" install || return 1 install -Dm0644 COPYING.Xiph \ "$pkgdir"/usr/share/licenses/$pkgname/COPYING.Xiph |