mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/soxr: modernize builddir
This commit is contained in:
parent
bd1e588516
commit
e338595633
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user