summaryrefslogtreecommitdiff
path: root/community/shell-fm/PKGBUILD
blob: 88cfe9926099d191ec81b612e7aa348cd6483dd1 (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
31
# $Id: PKGBUILD 68046 2012-03-17 12:04:37Z giovanni $
# Maintainer: Daenyth
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Jeff Mickey <jeff@archlinux.org>

pkgname=shell-fm
pkgver=0.8
pkgrel=1
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)
md5sums=('ce5c45ead71a299edbff280d4007ad99')

build() {
  cd "$srcdir"/jkramer-$pkgname-*

  make
}

package() {
  cd "$srcdir"/jkramer-$pkgname-*

  make DESTDIR="$pkgdir" install

  cd "$pkgdir/usr"
  install -dm755 "$pkgdir/usr/share"
  mv man share
}