Verified Commit 2b10e0a3 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/*: Modernise / fix syntax

parent 3ecae3f9
......@@ -12,7 +12,8 @@ depends_dev="flac-dev"
makedepends="$depends_dev alsa-lib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://audiofile.68k.org/audiofile-$pkgver.tar.gz
tests-unsigned-gcc6.patch"
tests-unsigned-gcc6.patch
"
prepare() {
default_prepare
......@@ -20,7 +21,6 @@ prepare() {
}
build() {
cd "$builddir"
export CXXFLAGS="$CXXFLAGS -fpermissive"
./configure \
--build=$CBUILD \
......@@ -33,12 +33,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -28,7 +28,6 @@ prepare() {
}
build() {
cd "$builddir"
export CFLAGS="$CFLAGS -fPIC"
export CXXFLAGS="$CXXFLAGS -fPIC"
./configure \
......@@ -42,12 +41,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -20,7 +20,6 @@ source="https://downloads.sourceforge.net/sourceforge/mad/$pkgname-$pkgver.tar.g
"
prepare() {
cd "$builddir"
update_config_sub
default_prepare
libtoolize --force && aclocal -I m4 && autoconf \
......@@ -28,7 +27,6 @@ prepare() {
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -39,7 +37,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 "$srcdir"/mad.pc "$pkgdir"/usr/lib/pkgconfig/mad.pc
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment