diff options
Diffstat (limited to 'community/shell-fm/PKGBUILD')
-rw-r--r-- | community/shell-fm/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/shell-fm/PKGBUILD b/community/shell-fm/PKGBUILD new file mode 100644 index 000000000..d54031f18 --- /dev/null +++ b/community/shell-fm/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 15370 2010-04-10 21:42:26Z andrea $ +# Maintainer: Daenyth +# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> +# Contributor: Jeff Mickey <jeff@archlinux.org> + +pkgname=shell-fm +pkgver=0.7 +pkgrel=3 +pkgdesc="A console based player for the streams provided by Last.FM" +arch=('i686' 'x86_64') +url="http://github.com/jkramer/$pkgname" +license=('GPL') +depends=('libmad' 'libao' 'taglib') +source=($pkgname-$pkgver.tar.gz::http://github.com/jkramer/$pkgname/tarball/v$pkgver + as-needed.diff::http://bugs.gentoo.org/attachment.cgi?id=205574) +md5sums=('3f83866622a892ee89685f1ed079eefd' + 'e49d91e2ee7145d8cfce8d43d0ef37c6') + +build() { + cd "$srcdir"/jkramer-$pkgname-* + + patch -Np1 < "$srcdir/as-needed.diff" || return 1 + + make || return 1 + make DESTDIR="$pkgdir" install + + cd "$pkgdir/usr" + install -dm755 "$pkgdir/usr/share" + mv man share +} |