aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/sbc/APKBUILD (renamed from unmaintained/sbc/APKBUILD)11
1 files changed, 6 insertions, 5 deletions
diff --git a/unmaintained/sbc/APKBUILD b/community/sbc/APKBUILD
index 87916aef4a..f0207d510b 100644
--- a/unmaintained/sbc/APKBUILD
+++ b/community/sbc/APKBUILD
@@ -1,5 +1,5 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Mark Riedesel <mark@klowner.com>
pkgname=sbc
pkgver=1.3
pkgrel=0
@@ -14,10 +14,11 @@ install=""
subpackages="$pkgname-dev $pkgname-utils"
source="http://www.kernel.org/pub/linux/bluetooth/sbc-$pkgver.tar.xz"
-_builddir="$srcdir"/sbc-$pkgver
+builddir="$srcdir"/$pkgname-$pkgver
+
prepare() {
local i
- cd "$_builddir"
+ cd "$builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -27,7 +28,7 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,7 +42,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}