aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-02-12 20:52:22 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-02-12 21:31:14 +0100
commit42ba198b4a979d68f0e96963a38a762cdf49ab41 (patch)
treec104c2cc1b912cc38fe7676ee7dd2cc4f819f27f
parentde10d698c771916add10ea54c5c63d1f37860e9d (diff)
downloadaports-42ba198b4a979d68f0e96963a38a762cdf49ab41.tar.gz
aports-42ba198b4a979d68f0e96963a38a762cdf49ab41.tar.bz2
aports-42ba198b4a979d68f0e96963a38a762cdf49ab41.tar.xz
main/cdparanoia: modernize
-rw-r--r--main/cdparanoia/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/main/cdparanoia/APKBUILD b/main/cdparanoia/APKBUILD
index 5beae0db01..919b9720b6 100644
--- a/main/cdparanoia/APKBUILD
+++ b/main/cdparanoia/APKBUILD
@@ -10,15 +10,14 @@ options="!check" # Build system has test suite commented out.
license="LGPL-2.0-or-later"
makedepends="libtool autoconf automake linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
-patches="gcc.patch fix-includes.patch no-cuserid.patch"
-source="http://downloads.xiph.org/releases/cdparanoia/$pkgname-III-$pkgver.src.tgz
- $patches"
-
-builddir="$srcdir/cdparanoia-III-$pkgver"
+source="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$pkgver.src.tgz
+ gcc.patch
+ fix-includes.patch
+ no-cuserid.patch"
+builddir="$srcdir/$pkgname-III-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
mv configure.guess config.guess
mv configure.sub config.sub
update_config_sub
@@ -28,7 +27,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,7 +38,6 @@ build() {
}
package() {
- cd "$builddir"
make prefix="$pkgdir"/usr MANDIR="$pkgdir"/usr/share/man install
}