summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c48ab7f138bb8b09f1c5334fc6067242ce49968 (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
32
33
34
35
36
37
38
39
40
41
42
# Contributor: speps <speps at aur dot archlinux dot org>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=siren
pkgver=0.10
pkgrel=2
pkgdesc="A text-based audio player."
arch=(i686 x86_64)
url="http://www.kariliq.nl/siren/"
license=('custom:ISC')
depends=('ncurses')
optdepends=('alsa-lib: alsa support'
            'faad2: AAC format support'
            'ffmpeg: ffmpeg input'
            'flac: flac input support'
            'libao: audio output support'
            'libid3tag: id3 tags support'
            'libmad: MPEG-1/2/2.5 decoder support'
            'libmp4v2: MP4, AAC'
            'libpulse: pulseaudio support'
            'libsndfile: sndfile input plugin'
            'libvorbis: Ogg Vorbis audio format'
            'opusfile: Opus audio format'
            'oss: OSS 3/4 output plugin'
            'portaudio: PortAudio support'
            'sndio: sndio output plugin'
            'wavpack: WavPack audio format')
source=("http://www.kariliq.nl/siren/dist/$pkgname-$pkgver.tar.gz")
md5sums=('97959b9974732e64c7e117de6d2af2d6')
sha1sums=('73f72f266fa8ea2a3e2ba978196926abb99086fe')
sha256sums=('54b6af320e1cf223cf02ca9d56859a4f2f796105cd617efa5f37736a3f9719e4')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure prefix=/usr mandir=/usr/share/man
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
	install -D -m644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}