blob: 271c0992e6adb2cd968c76ee3bccd4e2629e7519 (
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
|
# 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.7.0.r2.gc22b5bd
pkgrel=1
pkgdesc="A very feature-rich ncurses-based music player"
arch=('i686' 'x86_64')
url="https://cmus.github.io/"
depends=('ncurses')
makedepends=()
optdepends=('libpulse: PulseAudio'
'alsa-lib: ALSA'
'OSS: OSS'
'libroar: RoarAudio'
'libao: libao'
'aRts: aRts'
'libcdio: cdio plugin'
'libcddb: cdio plugin'
'libcue: .cue'
'FLAC: .flac'
'libvorbis: .ogg'
'libmpcded: .mpc, .mpp, .mp+'
'wavpack: .wv'
'libmad: .mp3'
'libavcodec: .wma, .ape, .mka, .tta, .shn'
'FAAD: .aac, .mp4, .m4a, .m4b'
'mp4v2: .mp4, .m4a, .m4b'
'libmodplug: .mod, .s3m'
'libmikmod: .mod, .s3m')
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
}
|