Date: Saturday, February 19, 2022 @ 10:56:42 Author: dvzrv Revision: 437739
upgpkg: ncmpc 0.46-2: Rebuild to add debug package. Simplify calls to meson/ninja. Remove unneeded quotes and curly braces. Modified: ncmpc/trunk/PKGBUILD ----------+ PKGBUILD | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-19 10:53:20 UTC (rev 437738) +++ PKGBUILD 2022-02-19 10:56:42 UTC (rev 437739) @@ -7,7 +7,7 @@ pkgname=ncmpc pkgver=0.46 -pkgrel=1 +pkgrel=2 pkgdesc="Fully featured MPD client which runs in a terminal" arch=(x86_64) url=https://www.musicpd.org/clients/ncmpc/ @@ -15,6 +15,7 @@ depends=(gcc-libs glibc lirc pcre2) makedepends=(boost libmpdclient meson ncurses python-sphinx) optdepends=('python-requests: for lyrics script') +options=(debug) source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) sha512sums=('34cbb9ff527bfa4d849069694b6d1a1e54c932b64538e799c9ef9b9ccc42ed24932b6bcbf3552af6ce846af6b7399916e1aabc6c79ac564f1c9fe56a33b6332f' 'SKIP') @@ -23,8 +24,7 @@ validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <[email protected]> build() { - cd "${pkgname}-${pkgver}" - arch-meson -D lyrics_screen=true -D chat_screen=true build + arch-meson -D lyrics_screen=true -D chat_screen=true build $pkgname-$pkgver ninja -C build } @@ -31,6 +31,5 @@ package() { depends+=(libmpdclient.so libncursesw.so) - cd "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" ninja -C build install }
