blob: d54031f186633e86c9c7dcc299d4e0269caab59b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}
|