[arch-commits] Commit in ncmpc/repos/extra-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Sep 3 14:02:29 UTC 2020


    Date: Thursday, September 3, 2020 @ 14:02:29
  Author: dvzrv
Revision: 395387

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 45 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-03 14:02:15 UTC (rev 395386)
+++ PKGBUILD	2020-09-03 14:02:29 UTC (rev 395387)
@@ -1,36 +0,0 @@
-# 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.39
-pkgrel=1
-pkgdesc='Fully featured MPD client using ncurses'
-url='https://www.musicpd.org/clients/ncmpc/'
-arch=('x86_64')
-license=('GPL')
-depends=('ncurses' 'libmpdclient' 'pcre' 'lirc')
-optdepends=('ruby: for lyrics plugin')
-makedepends=('meson' 'python-sphinx' 'boost')
-validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
-source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('64ebe320c2fbe4dfbff4461ceae730001841d06d48c4882d69f320912a0f11a8'
-            'SKIP')
-
-prepare() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	sed "s/curses == 'ncursesw'/false/g" -i meson.build
-}
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	arch-meson . build -Dlyrics_screen=true
-	ninja -C build
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	DESTDIR="${pkgdir}" ninja -C build install
-}

Copied: ncmpc/repos/extra-x86_64/PKGBUILD (from rev 395386, ncmpc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-03 14:02:29 UTC (rev 395387)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: 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.39
+pkgrel=2
+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')
+optdepends=('ruby: for lyrics plugin')
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha512sums=('bfadc58bf8b66bff08608f561f689a50fd412b87975998ce23751fd312fa009eeba4b48b4afe96391b2ecb184c00c366262e9b96e24d2ce2ab2af6a4002721d9'
+            'SKIP')
+b2sums=('1b270ed52aa884cecd3e1ce60bb2ed628ef79480697f388b48a09e0f22068dbbb7623b01171e5cfae9556446e404530f93c84ca3c3d5cc481c8431f37786c2f4'
+        'SKIP')
+validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max at blarg.de>
+
+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
+  ninja -C build
+}
+
+package() {
+  depends+=('libmpdclient.so' 'libncursesw.so')
+  cd "${pkgname}-${pkgver}"
+  DESTDIR="${pkgdir}" ninja -C build install
+}



More information about the arch-commits mailing list