diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-05-22 11:06:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-05-22 12:29:55 +0000 |
commit | bedc9d65998058d1b5a1f3de7ecb2384418562f2 (patch) | |
tree | 718132a5f69c9ba621fc0c49feb6ee7e2ad31a0a | |
parent | 052fcc57045f4e5ead47f1136b6385ea85123c03 (diff) | |
download | alpine_aports-bedc9d65998058d1b5a1f3de7ecb2384418562f2.tar.bz2 alpine_aports-bedc9d65998058d1b5a1f3de7ecb2384418562f2.tar.xz alpine_aports-bedc9d65998058d1b5a1f3de7ecb2384418562f2.zip |
community/cmus: upgrade to 2.8.0_rc0
-rw-r--r-- | community/cmus/APKBUILD | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/community/cmus/APKBUILD b/community/cmus/APKBUILD index a2fbab1f5a..7f2cad93ce 100644 --- a/community/cmus/APKBUILD +++ b/community/cmus/APKBUILD | |||
@@ -2,8 +2,9 @@ | |||
2 | # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> | 2 | # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> |
3 | # Maintainer: | 3 | # Maintainer: |
4 | pkgname=cmus | 4 | pkgname=cmus |
5 | pkgver=2.7.1 | 5 | pkgver=2.8.0_rc0 |
6 | pkgrel=3 | 6 | pkgrel=0 |
7 | _ver=${pkgver/_rc/-rc} | ||
7 | pkgdesc="A very feature-rich ncurses-based music player" | 8 | pkgdesc="A very feature-rich ncurses-based music player" |
8 | url="http://cmus.sourceforge.net/" | 9 | url="http://cmus.sourceforge.net/" |
9 | arch="all" | 10 | arch="all" |
@@ -11,24 +12,24 @@ license="GPL2+" | |||
11 | depends="" | 12 | depends="" |
12 | depends_dev="" | 13 | depends_dev="" |
13 | makedepends="alsa-lib-dev faad2-dev flac-dev libmad-dev opusfile-dev | 14 | makedepends="alsa-lib-dev faad2-dev flac-dev libmad-dev opusfile-dev |
14 | libogg-dev libvorbis-dev ncurses-dev wavpack-dev ffmpeg2.8-dev | 15 | libogg-dev libvorbis-dev ncurses-dev wavpack-dev ffmpeg-dev |
15 | linux-headers" | 16 | linux-headers" |
16 | install="" | 17 | install="" |
17 | subpackages=" | 18 | subpackages=" |
18 | $pkgname-doc | 19 | $pkgname-doc |
19 | $pkgname-zsh-completion:zshcomp:noarch | 20 | $pkgname-zsh-completion:zshcomp:noarch |
20 | $pkgname-bash-completion:bashcomp:noarch" | 21 | $pkgname-bash-completion:bashcomp:noarch" |
21 | source="$pkgname-$pkgver.tar.gz::https://github.com/cmus/cmus/archive/v${pkgver}.tar.gz" | 22 | source="$pkgname-$_ver.tar.gz::https://github.com/cmus/cmus/archive/v${_ver}.tar.gz" |
22 | 23 | ||
23 | _builddir="$srcdir"/$pkgname-$pkgver | 24 | builddir="$srcdir"/$pkgname-$_ver |
24 | build() { | 25 | build() { |
25 | cd "$_builddir" | 26 | cd "$builddir" |
26 | ./configure prefix=/usr || return 1 | 27 | ./configure prefix=/usr || return 1 |
27 | make || return 1 | 28 | make || return 1 |
28 | } | 29 | } |
29 | 30 | ||
30 | package() { | 31 | package() { |
31 | cd "$_builddir" | 32 | cd "$builddir" |
32 | make DESTDIR="$pkgdir" install || return 1 | 33 | make DESTDIR="$pkgdir" install || return 1 |
33 | 34 | ||
34 | for file in AUTHORS README.md; do | 35 | for file in AUTHORS README.md; do |
@@ -41,7 +42,7 @@ bashcomp() { | |||
41 | pkgdesc="Bash completions for $pkgname" | 42 | pkgdesc="Bash completions for $pkgname" |
42 | install_if="$pkgname=$pkgver-r$pkgrel bash-completion" | 43 | install_if="$pkgname=$pkgver-r$pkgrel bash-completion" |
43 | 44 | ||
44 | install -Dm644 "$_builddir"/contrib/$pkgname.bash-completion \ | 45 | install -Dm644 "$builddir"/contrib/$pkgname.bash-completion \ |
45 | "$subpkgdir"/usr/share/bash-completion/completions/$pkgname | 46 | "$subpkgdir"/usr/share/bash-completion/completions/$pkgname |
46 | } | 47 | } |
47 | 48 | ||
@@ -50,10 +51,8 @@ zshcomp() { | |||
50 | pkgdesc="Zsh completions for $pkgname" | 51 | pkgdesc="Zsh completions for $pkgname" |
51 | install_if="$pkgname=$pkgver-r$pkgrel zsh" | 52 | install_if="$pkgname=$pkgver-r$pkgrel zsh" |
52 | 53 | ||
53 | install -Dm644 "$_builddir"/contrib/_$pkgname \ | 54 | install -Dm644 "$builddir"/contrib/_$pkgname \ |
54 | "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname | 55 | "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname |
55 | } | 56 | } |
56 | 57 | ||
57 | md5sums="0588ab955db44a8e9deb03446d73b5df cmus-2.7.1.tar.gz" | 58 | sha512sums="0379f18497d6510fad35a2d905c932d12f2726a5694d3ab272ce139e9ea4520cb4dd1cf3fafe890f6ada8a64285f8c04ef7571647a66c2d44df17e2dca80f869 cmus-2.8.0-rc0.tar.gz" |
58 | sha256sums="8179a7a843d257ddb585f4c65599844bc0e516fe85e97f6f87a7ceade4eb5165 cmus-2.7.1.tar.gz" | ||
59 | sha512sums="b29ce10bbb61eb41c33c4912be320718fcf005a5797320145b124f048f6be5f5b0cebb67471ef7b062bd6f854849b6aae0e82e9adbf289a44237787932ea1576 cmus-2.7.1.tar.gz" | ||