Date: Monday, November 29, 2021 @ 10:38:14 Author: dvzrv Revision: 429428
upgpkg: ncmpc 0.46-1: Upgrade to 0.46. Switch to pcre2 as dependency. Use arch-meson for simplified build(). Simplify quoting in file. Modified: ncmpc/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-11-28 20:47:47 UTC (rev 429427) +++ PKGBUILD 2021-11-29 10:38:14 UTC (rev 429428) @@ -6,40 +6,31 @@ # Contributor: Daniel Bainton <dpb [at] backarrow.org> pkgname=ncmpc -pkgver=0.45 +pkgver=0.46 pkgrel=1 pkgdesc="Fully featured MPD client which runs in a terminal" -url='https://www.musicpd.org/clients/ncmpc/' -arch=('x86_64') -license=('GPL2') -depends=('gcc-libs' 'glibc' 'lirc' 'pcre') -makedepends=('boost' 'libmpdclient' 'meson' 'ncurses' 'python-sphinx') +arch=(x86_64) +url=https://www.musicpd.org/clients/ncmpc/ +license=(GPL2) +depends=(gcc-libs glibc lirc pcre2) +makedepends=(boost libmpdclient meson ncurses python-sphinx) optdepends=('python-requests: for lyrics script') source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}) -sha512sums=('9e8c6c61547458e0fe20ccd31d4733949352688c00b66e38930b475434dbd69789f701df0de01cd1574c6250ad2f43f1258cb095d4b47af7a58b6840a8c70ccd' +sha512sums=('34cbb9ff527bfa4d849069694b6d1a1e54c932b64538e799c9ef9b9ccc42ed24932b6bcbf3552af6ce846af6b7399916e1aabc6c79ac564f1c9fe56a33b6332f' 'SKIP') -b2sums=('f8d8744bf1a43bcc909b390d3dee555cbe8c875a8d77d0fbb8bccfbc7bb28c678d337d8db7a2a038f501e8dd16e93dc6cb6d1c5eae1c87f676750d793718f0af' +b2sums=('e57a931f5a512c543d48a9b6e532c7944e655d28d02fe9ec2b5b41563e2e6a5806924a668ae592f3fee58a2bb04a681fee0903b8046a61ce39a453092dfd8623' 'SKIP') validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <[email protected]> build() { cd "${pkgname}-${pkgver}" - meson --prefix /usr \ - --libexecdir lib \ - --sbindir bin \ - --buildtype plain \ - --auto-features enabled \ - --wrap-mode nodownload \ - -D b_lto=true \ - -D b_pie=true \ - -D lyrics_screen=true \ - -D chat_screen=true \ - build + arch-meson -D lyrics_screen=true -D chat_screen=true build ninja -C build } package() { - depends+=('libmpdclient.so' 'libncursesw.so') + depends+=(libmpdclient.so libncursesw.so) + cd "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" ninja -C build install }
