summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3647a4f4441dd3ffe79f01bcf554149bd74d242a (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Maintainer: Austin Haedicke

# If you find errors or have suggestions feel free to file an issue
# or submit a pull request @ https://github.com/savagezen/pkgbuild

pkgname=cmus-git
pkgver=v2.8.0.rc0.r92.ge7682e4
pkgrel=1
pkgdesc="A very feature-rich ncurses-based music player"
arch=('i686' 'x86_64')
url="https://cmus.github.io/"
depends=('ncurses')
makedepends=('git')
optdepends=('alsa-lib: ALSA output plugin support'
		'aRts: aRts'
		'faad2: .aac, .mp4, .m4a, .m4b'
		'ffmpeg: .ffmpeg, .wma, .ape, .mka, .tta, .shn'
		'flac: .flac'
		'libavcodec: .wma, .ape, .mka, .tta, .shn'
		'libao: for AO output plugin support'
		'libcddb: .cdio'
		'libcdio: .cdio'
		'libcdio-paranoia: .cdio'
		'libcue: .cue'		
		'libmad: .mp3'
		'libmikmod: .mod, .s3m'
		'libmodplug: .mod, .s3m'
		'libmp4v2: .mp4, .m4a, .m4b'
		'libmpcdec: .mpc, .mpp, .mp+'
		'libpulse: for Pulse Audio output plugin support'
		'libraor: RoarAudio'
		'libvorbis: .ogg'
		'opusfile: .opus'
		'oss: OSS'
		'wavpack: .wv')
conflicts=('cmus')
provides=('cmus')
license=('GPL')
source=(git://github.com/cmus/cmus)
sha512sums=('SKIP')
_gitname=cmus

pkgver() {
  cd "$_gitname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$_gitname"
  ./configure prefix=/usr
  make
}

package() {
  cd "$_gitname"
  make DESTDIR="$pkgdir" install
}