main/soxr: modernize builddir

This commit is contained in:
Natanael Copa 2018-03-05 23:26:21 +00:00
parent bd1e588516
commit e338595633

View File

@ -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
}