[arch-commits] Commit in ncmpc/repos (4 files)

Gaëtan Bisson bisson at archlinux.org
Tue Oct 3 21:00:04 UTC 2017


    Date: Tuesday, October 3, 2017 @ 21:00:04
  Author: bisson
Revision: 306661

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  ncmpc/repos/extra-i686/PKGBUILD
    (from rev 306660, ncmpc/trunk/PKGBUILD)
  ncmpc/repos/extra-x86_64/PKGBUILD
    (from rev 306660, ncmpc/trunk/PKGBUILD)
Deleted:
  ncmpc/repos/extra-i686/PKGBUILD
  ncmpc/repos/extra-x86_64/PKGBUILD

-----------------------+
 /PKGBUILD             |   80 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   37 ----------------------
 extra-x86_64/PKGBUILD |   37 ----------------------
 3 files changed, 80 insertions(+), 74 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2017-10-03 20:58:59 UTC (rev 306660)
+++ extra-i686/PKGBUILD	2017-10-03 21:00:04 UTC (rev 306661)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Angel Velasquez <angvp at archlinux.org> 
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-# Contributor: Daniel Bainton <dpb [at] backarrow.org>
-
-pkgname=ncmpc
-pkgver=0.27
-pkgrel=1
-pkgdesc='Fully featured MPD client using ncurses'
-url='https://www.musicpd.org/clients/ncmpc/'
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('ncurses' 'glib2' 'libmpdclient=2.11')
-optdepends=('python2: to enable lyrics plugin'
-            'ruby: to enable lyrics plugin')
-validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
-source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('f9a26a3fc869cfdf0a16b0ea3e6512c2fe28a031bbc71b1d24a2bf0bbd3e15d9'
-            'SKIP')
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--enable-lyrics-screen \
-		--with-lyrics-plugin-dir=/usr/share/ncmpc/lyrics
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	for i in lyrics/*; do install -Dm755 "$i" "${pkgdir}/usr/share/ncmpc/$i"; done
-}

Copied: ncmpc/repos/extra-i686/PKGBUILD (from rev 306660, ncmpc/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2017-10-03 21:00:04 UTC (rev 306661)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org> 
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Daniel Bainton <dpb [at] backarrow.org>
+
+pkgname=ncmpc
+pkgver=0.28
+pkgrel=1
+pkgdesc='Fully featured MPD client using ncurses'
+url='https://www.musicpd.org/clients/ncmpc/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('ncurses' 'glib2' 'libmpdclient=2.11')
+optdepends=('python2: to enable lyrics plugin'
+            'ruby: to enable lyrics plugin')
+makedepends=('meson')
+validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('f66e5b6fef83bdfda3b3efaf3fbad6a4d8c47bb1b3b6810bed44d3e35b007804'
+            'SKIP')
+
+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
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}/build"
+	DESTDIR="${pkgdir}" ninja install
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2017-10-03 20:58:59 UTC (rev 306660)
+++ extra-x86_64/PKGBUILD	2017-10-03 21:00:04 UTC (rev 306661)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Angel Velasquez <angvp at archlinux.org> 
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-# Contributor: Daniel Bainton <dpb [at] backarrow.org>
-
-pkgname=ncmpc
-pkgver=0.27
-pkgrel=1
-pkgdesc='Fully featured MPD client using ncurses'
-url='https://www.musicpd.org/clients/ncmpc/'
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('ncurses' 'glib2' 'libmpdclient=2.11')
-optdepends=('python2: to enable lyrics plugin'
-            'ruby: to enable lyrics plugin')
-validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
-source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('f9a26a3fc869cfdf0a16b0ea3e6512c2fe28a031bbc71b1d24a2bf0bbd3e15d9'
-            'SKIP')
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--enable-lyrics-screen \
-		--with-lyrics-plugin-dir=/usr/share/ncmpc/lyrics
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	for i in lyrics/*; do install -Dm755 "$i" "${pkgdir}/usr/share/ncmpc/$i"; done
-}

Copied: ncmpc/repos/extra-x86_64/PKGBUILD (from rev 306660, ncmpc/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2017-10-03 21:00:04 UTC (rev 306661)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org> 
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Daniel Bainton <dpb [at] backarrow.org>
+
+pkgname=ncmpc
+pkgver=0.28
+pkgrel=1
+pkgdesc='Fully featured MPD client using ncurses'
+url='https://www.musicpd.org/clients/ncmpc/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('ncurses' 'glib2' 'libmpdclient=2.11')
+optdepends=('python2: to enable lyrics plugin'
+            'ruby: to enable lyrics plugin')
+makedepends=('meson')
+validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('f66e5b6fef83bdfda3b3efaf3fbad6a4d8c47bb1b3b6810bed44d3e35b007804'
+            'SKIP')
+
+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
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}/build"
+	DESTDIR="${pkgdir}" ninja install
+}



More information about the arch-commits mailing list