From 9035f44c659b415ba2038218054bcc08b4b5d22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 12 Feb 2017 16:29:38 +0100 Subject: main/ncmpc: upgrade to 0.25 --- main/ncmpc/APKBUILD | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'main') 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 # Contributor: Peter Bui # Maintainer: Peter Bui 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" -- cgit v1.2.3