Date: Sunday, February 11, 2018 @ 15:34:55 Author: bisson Revision: 316625
rebuild against new libmpdclient Modified: ncmpc/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-02-11 15:26:45 UTC (rev 316624) +++ PKGBUILD 2018-02-11 15:34:55 UTC (rev 316625) @@ -7,12 +7,12 @@ pkgname=ncmpc pkgver=0.29 -pkgrel=1 +pkgrel=2 pkgdesc='Fully featured MPD client using ncurses' url='https://www.musicpd.org/clients/ncmpc/' arch=('x86_64') license=('GPL') -depends=('ncurses' 'glib2' 'libmpdclient=2.11') +depends=('ncurses' 'glib2' 'libmpdclient') optdepends=('python2: to enable lyrics plugin' 'ruby: to enable lyrics plugin') makedepends=('meson') @@ -24,17 +24,15 @@ prepare() { cd "${srcdir}/${pkgname}-${pkgver}" sed "s/curses == 'ncursesw'/false/g" -i meson.build - rm -fr build - install -d build } build() { - cd "${srcdir}/${pkgname}-${pkgver}/build" - arch-meson .. -Dlyrics_screen=true - ninja + cd "${srcdir}/${pkgname}-${pkgver}" + arch-meson . build -Dlyrics_screen=true + ninja -C build } package() { - cd "${srcdir}/${pkgname}-${pkgver}/build" - DESTDIR="${pkgdir}" ninja install + cd "${srcdir}/${pkgname}-${pkgver}" + DESTDIR="${pkgdir}" ninja -C build install }
