aboutsummaryrefslogtreecommitdiffstats
path: root/community/fdkaac/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fdkaac/APKBUILD')
-rw-r--r--community/fdkaac/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/fdkaac/APKBUILD b/community/fdkaac/APKBUILD
new file mode 100644
index 0000000000..90a201a671
--- /dev/null
+++ b/community/fdkaac/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: prspkt <prspkt@protonmail.com>
+# Maintainer: prspkt <prspkt@protonmail.com>
+pkgname=fdkaac
+pkgver=1.0.2
+pkgrel=0
+pkgdesc="Command line frontend for libfdk-aac"
+url="https://github.com/nu774/fdkaac"
+arch="all"
+license="BSD-4-Clause AND MIT AND Zlib"
+makedepends="autoconf automake fdk-aac-dev"
+subpackages="$pkgname-doc"
+source="https://github.com/nu774/fdkaac/archive/v$pkgver/fdkaac-$pkgver.tar.gz"
+options="!check" # no testsuite
+
+prepare() {
+ default_prepare
+ autoreconf -vfi
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="32374fe8d7e129134d21c5f36ddcdf76307193b42e3c4d4cd13a1caf3088f81114368d1c008284add65052b678dd8eeb704ecaa25c385031f402da61dc798d1c fdkaac-1.0.2.tar.gz"