diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-06-15 04:52:20 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-06-15 04:53:10 -0500 |
commit | 6f7c1961bb67a4fa67e67fc6b5d2f3c10ce50256 (patch) | |
tree | 96a487d1d9f2ed08cefe4623e5a8d20be9ba72f3 /main/audacious | |
parent | b9559b171c2632542cbc1d383904c074ecd2d780 (diff) | |
download | aports-6f7c1961bb67a4fa67e67fc6b5d2f3c10ce50256.tar.bz2 aports-6f7c1961bb67a4fa67e67fc6b5d2f3c10ce50256.tar.xz |
main/audacious: convert to abuildhelper
Diffstat (limited to 'main/audacious')
-rw-r--r-- | main/audacious/APKBUILD | 44 |
1 files changed, 7 insertions, 37 deletions
diff --git a/main/audacious/APKBUILD b/main/audacious/APKBUILD index 2795bac98..f5133b6ed 100644 --- a/main/audacious/APKBUILD +++ b/main/audacious/APKBUILD @@ -2,53 +2,23 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=audacious pkgver=2.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="playlist-oriented media player with multiple interfaces" url="http://audacious-media-player.org/" arch="all" license="ISC" depends= -makedepends="libmowgli-dev libmcs-dev libguess-dev gtk+-dev dbus-glib-dev libxml2-dev" +makedepends="abuildhelper libmowgli-dev libmcs-dev libguess-dev gtk+-dev dbus-glib-dev libxml2-dev" install= subpackages="$pkgname-dev" source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz" -_builddir="$srcdir"/$pkgname-$pkgver +source /usr/share/abuildhelper/rules/base.sh -prepare() { - cd "$_builddir" +using autotools +using makeinstall +using plugin atheme-buildsys - for i in $source; do - case $i in - *.patch) - msg "Applying $i..." - patch -s -p1 -N -i "$srcdir"/$i || return 1 - ;; - esac - done - - # workaround bug in busybox - sed -e "/touch/s/0001010000/200001010000/g" \ - -i configure -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-chardet - make || return 1 -} - -package() { - cd "$_builddir" - - # bleah... - mkdir $pkgdir/usr/bin - - make DESTDIR="$pkgdir" install -} +ac_enable_opt chardet md5sums="9db3737b4ad1da63a750d6e7059d45f6 audacious-2.5.1.tgz" |