aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-03-05 23:26:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-05 23:26:21 +0000
commite3385956332c7af7b03dd7d286b08b94aa5bacb2 (patch)
tree60c6fb3cf940a586b14b73b2b461f095324b4495
parentbd1e588516b31731dfd2e0ce99583888f4fc0421 (diff)
downloadaports-e3385956332c7af7b03dd7d286b08b94aa5bacb2.tar.gz
aports-e3385956332c7af7b03dd7d286b08b94aa5bacb2.tar.bz2
aports-e3385956332c7af7b03dd7d286b08b94aa5bacb2.tar.xz
main/soxr: modernize builddir
-rw-r--r--main/soxr/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/soxr/APKBUILD b/main/soxr/APKBUILD
index f53028e845..8d3026ac7e 100644
--- a/main/soxr/APKBUILD
+++ b/main/soxr/APKBUILD
@@ -13,10 +13,10 @@ makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.xz::https://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver-Source.tar.xz/download"
-_builddir="$srcdir/$pkgname-$pkgver-Source"
+builddir="$srcdir/$pkgname-$pkgver-Source"
build() {
- cd "$_builddir"
+ cd "$builddir"
cmake . \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DBUILD_TESTS=ON
@@ -24,12 +24,12 @@ build() {
}
check() {
- cd "$_builddir"
+ cd "$builddir"
make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}