diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-02-12 16:29:38 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-02-12 16:29:38 +0100 |
commit | 9035f44c659b415ba2038218054bcc08b4b5d22a (patch) | |
tree | b2ad10c5fd47f17ee5b89c7b6b211cc646197cc7 /main | |
parent | 3a7b699cba3d43a95322d6d423cc7ce9adee0eea (diff) | |
download | aports-9035f44c659b415ba2038218054bcc08b4b5d22a.tar.bz2 aports-9035f44c659b415ba2038218054bcc08b4b5d22a.tar.xz |
main/ncmpc: upgrade to 0.25
Diffstat (limited to 'main')
-rw-r--r-- | main/ncmpc/APKBUILD | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/main/ncmpc/APKBUILD b/main/ncmpc/APKBUILD index 164f1159f7..4612f3fa1c 100644 --- a/main/ncmpc/APKBUILD +++ b/main/ncmpc/APKBUILD @@ -1,39 +1,44 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Peter Bui <pnutzh4x0r@gmail.com> # Maintainer: Peter Bui <pnutzh4x0r@gmail.com> pkgname=ncmpc -pkgver=0.24 -pkgrel=2 +pkgver=0.25 +pkgrel=0 pkgdesc="Fully featured MPD client using ncurses" url="http://www.musicpd.org/clients/ncmpc/" arch="all" license="GPL2" depends="" -depends_dev="ncurses-dev glib-dev libmpdclient-dev" -makedepends="$depends_dev" +depends_dev="" +makedepends="ncurses-dev glib-dev libmpdclient-dev" install="" subpackages="$pkgname-doc $pkgname-lang" source="http://www.musicpd.org/download/${pkgname}/0/${pkgname}-${pkgver}.tar.xz" +builddir="$srcdir"/$pkgname-$pkgver -_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-lyrics-screen \ - --with-lyrics-plugin-dir=/usr/share/ncmpc/lyrics \ - || return 1 + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-lyrics-screen \ + --with-lyrics-plugin-dir=/usr/share/$pkgname/lyrics \ + || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 - for i in lyrics/*; do - install -Dm755 "$i" "${pkgdir}/usr/share/ncmpc/$i" || return 1 - done + + mkdir -p "$pkgdir"/usr/share/$pkgname/lyrics + install -m755 lyrics/* \ + "$pkgdir"/usr/share/$pkgname/lyrics \ + || return 1 } -md5sums="0717193f38446780372f2a8907316362 ncmpc-0.24.tar.xz" -sha256sums="0e6f76b2b11449cfa479d2830ac681f4e3bff54a95a9134b069dd5a173b4c3e9 ncmpc-0.24.tar.xz" -sha512sums="852bedec9d1e0f13748d00ded8a57b7824a3907fa4aef441cd016c13b3a4229e630957ee965d9f5cf7c1a0c47bfa3bb040058d32c6fcf6b4474acc57f834d929 ncmpc-0.24.tar.xz" +sha512sums="8c871db367a70ec3b68c1337d6ec26b8ca4982cd11f674abd17bf6c5df429d366a7b531f8668d4665688b5ae9a4f5f2ba92bb1a36cf491bf8dd3f8874699b0b3 ncmpc-0.25.tar.xz" |