diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-09-06 10:40:50 -0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-07 07:59:17 +0000 |
commit | cad3eb0357f757f704eb4fb680f5721acb6ec754 (patch) | |
tree | dad1c33d6cc1340edd0d136f9e745773941f8b06 /main/audacious-plugins/APKBUILD | |
parent | fc4fa9bb9198547327849d8ad33706f94be231d6 (diff) | |
download | aports-cad3eb0357f757f704eb4fb680f5721acb6ec754.tar.bz2 aports-cad3eb0357f757f704eb4fb680f5721acb6ec754.tar.xz |
main/audacious-plugins: upgrade to 3.9
Diffstat (limited to 'main/audacious-plugins/APKBUILD')
-rw-r--r-- | main/audacious-plugins/APKBUILD | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/main/audacious-plugins/APKBUILD b/main/audacious-plugins/APKBUILD index eeb2bcb065..47803aa81f 100644 --- a/main/audacious-plugins/APKBUILD +++ b/main/audacious-plugins/APKBUILD @@ -2,7 +2,7 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=audacious-plugins -pkgver=3.8.2 +pkgver=3.9 pkgrel=0 pkgdesc="A playlist-oriented media player with multiple interfaces (plugins)" url="http://audacious-media-player.org/" @@ -48,26 +48,14 @@ makedepends="libmowgli-dev automake autoconf" -install= subpackages="$pkgname-lang $pkgname-dbg" source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" prepare() { - cd "$_builddir" - - for i in $source; do - case $i in - *.patch) - msg "Applying $i..." - patch -s -p1 -N -i "$srcdir"/$i || return 1 - ;; - esac - done - + default_prepare msg "Rebuilding configure..." - aclocal -I m4 && autoheader && autoconf || return 1 + aclocal -I m4 && autoheader && autoconf # workaround bug in busybox sed -e "/touch/s/0001010000/200001010000/g" \ @@ -75,21 +63,20 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 + --infodir=/usr/share/info + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -sha512sums="61be2ee962853ed05366d4089ae1bef96c282ff61a947dc32f06651a9b620035a33cf4d75f4c4d74821099f36f9124f2b2266940f4844d14ca43ef70a81cde08 audacious-plugins-3.8.2.tar.bz2" +sha512sums="00c8c53d69995ca1fedb91c7df609cc6c65b13e1af23b98a2fbda143c02ac554cc2c42c01f1c593af252e36bfb85b6324f2daca8632d3b672c69fb4dead2e3fa audacious-plugins-3.9.tar.bz2" |