# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=audacious pkgver=2.4.3 pkgrel=1 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" install= subpackages="$pkgname-dev" source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz audacious-2.4.3-playlist-AUD-285.patch audacious-2.4.3-id3v1-memleak-AUD-286.patch" _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 # 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 } md5sums="bd5d91900044a1159129c6feeea612c4 audacious-2.4.3.tgz 6dc34ff8fd74dcba06b6aa20c7cd493e audacious-2.4.3-playlist-AUD-285.patch 3c8a23fd86ee8943ee938ef4cef9fa86 audacious-2.4.3-id3v1-memleak-AUD-286.patch"