summaryrefslogtreecommitdiffstats
path: root/main/audacious
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-08 09:04:27 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-10-08 09:07:05 +0300
commitba3bd82b018819f01d3d2cda1fec7a65a891182c (patch)
treea56c6b7d2a93a755d27c40cb9031c77308fbf2ff /main/audacious
parentc90e675eae472584d2b422113071eb03f0d3cdd4 (diff)
downloadaports-ba3bd82b018819f01d3d2cda1fec7a65a891182c.tar.bz2
aports-ba3bd82b018819f01d3d2cda1fec7a65a891182c.tar.xz
main/audacious: do not use abuildhelper
Diffstat (limited to 'main/audacious')
-rw-r--r--main/audacious/APKBUILD26
1 files changed, 19 insertions, 7 deletions
diff --git a/main/audacious/APKBUILD b/main/audacious/APKBUILD
index ef071cf81..9c384c416 100644
--- a/main/audacious/APKBUILD
+++ b/main/audacious/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious
pkgver=3.3.4
-pkgrel=0
+pkgrel=1
pkgdesc="playlist-oriented media player with multiple interfaces"
url="http://audacious-media-player.org/"
arch="all"
@@ -15,8 +15,6 @@ subpackages="$pkgname-dev $pkgname-lang"
source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2
"
-source /usr/share/abuildhelper/rules/base.sh
-
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
@@ -33,11 +31,25 @@ prepare() {
msg "Rebuilding configure..."
aclocal -I m4 && autoheader && autoconf || return 1
}
-using autotools
-using makeinstall
-using plugin atheme-buildsys
-ac_enable_opt chardet
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-chardet \
+ || return 1
+ make || return 1
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
md5sums="3a622f48009c6d959467b4e819e329ea audacious-3.3.4.tar.bz2"
sha256sums="671cdbf9b6b722b4ff4f43bcf85da0bdd1dfdf461b510cf6ecdb9187a427fca7 audacious-3.3.4.tar.bz2"