summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-29 16:11:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-29 16:11:25 +0000
commitb145f15566e30ded56ea5ddd89b286203f14077a (patch)
tree6b906d8dc639d21612dd08f3e4689806365f2500
parent8e23de974dc0e73de1346e73314ab2e887864632 (diff)
downloadpackages-b145f15566e30ded56ea5ddd89b286203f14077a.tar.gz
packages-b145f15566e30ded56ea5ddd89b286203f14077a.tar.bz2
packages-b145f15566e30ded56ea5ddd89b286203f14077a.tar.xz
packages-b145f15566e30ded56ea5ddd89b286203f14077a.zip
user/libsamplerate: Modernise / fix syntax
-rw-r--r--user/libsamplerate/APKBUILD6
1 files changed, 1 insertions, 5 deletions
diff --git a/user/libsamplerate/APKBUILD b/user/libsamplerate/APKBUILD
index aed5129ba..308259c25 100644
--- a/user/libsamplerate/APKBUILD
+++ b/user/libsamplerate/APKBUILD
@@ -12,13 +12,11 @@ makedepends="fftw-dev libsndfile-dev linux-headers"
source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz"
prepare() {
- cd "$builddir"
- update_config_sub
default_prepare
+ update_config_sub
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,12 +25,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}