Commit ba3bd82b authored by Timo Teräs's avatar Timo Teräs

main/audacious: do not use abuildhelper

parent c90e675e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=audacious pkgname=audacious
pkgver=3.3.4 pkgver=3.3.4
pkgrel=0 pkgrel=1
pkgdesc="playlist-oriented media player with multiple interfaces" pkgdesc="playlist-oriented media player with multiple interfaces"
url="http://audacious-media-player.org/" url="http://audacious-media-player.org/"
arch="all" arch="all"
...@@ -15,8 +15,6 @@ subpackages="$pkgname-dev $pkgname-lang" ...@@ -15,8 +15,6 @@ subpackages="$pkgname-dev $pkgname-lang"
source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2 source="http://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2
" "
source /usr/share/abuildhelper/rules/base.sh
_builddir="$srcdir"/$pkgname-$pkgver _builddir="$srcdir"/$pkgname-$pkgver
prepare() { prepare() {
cd "$_builddir" cd "$_builddir"
...@@ -33,11 +31,25 @@ prepare() { ...@@ -33,11 +31,25 @@ prepare() {
msg "Rebuilding configure..." msg "Rebuilding configure..."
aclocal -I m4 && autoheader && autoconf || return 1 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" md5sums="3a622f48009c6d959467b4e819e329ea audacious-3.3.4.tar.bz2"
sha256sums="671cdbf9b6b722b4ff4f43bcf85da0bdd1dfdf461b510cf6ecdb9187a427fca7 audacious-3.3.4.tar.bz2" sha256sums="671cdbf9b6b722b4ff4f43bcf85da0bdd1dfdf461b510cf6ecdb9187a427fca7 audacious-3.3.4.tar.bz2"
......
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