updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / siren / PKGBUILD
blob3894fbba17296ea0b7a16c860da2386da1270c76
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=siren
4 pkgver=0
5 pkgrel=1
6 pkgdesc="A text-based audio player"
7 arch=(i686 x86_64)
8 url="http://www.kariliq.nl/siren/"
9 license=('custom:ISC')
10 depends=('ncurses')
11 makedepends=('libao' 'libpulse' 'libid3tag' 'libmad')
12 optdepends=('libao: audio output support'
13             'libpulse: pulseaudio support'
14             'libid3tag: id3 tags support'
15             'libmad: mpeg decoder support')
16 source=(${url}dist/${pkgname}-${pkgver}.tar.gz)
17 md5sums=('09bb8198134c724c16a979d176c08dfe')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
22   export LDFLAGS="$LDFLAGS -ldl"
24   ./configure prefix=/usr \
25               mandir=/usr/share/man
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir/" install
33   # license
34   install -d "$pkgdir/usr/share/licenses/$pkgname"
35   head -n15 $pkgname.h > \
36     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
39 # vim:set ts=2 sw=2 et: