summaryrefslogtreecommitdiff
path: root/community/shell-fm/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/shell-fm/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/shell-fm/PKGBUILD')
-rw-r--r--community/shell-fm/PKGBUILD30
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
+}