[arch-commits] Commit in mpc/trunk (PKGBUILD)

Gaëtan Bisson bisson at archlinux.org
Sun Feb 11 15:26:37 UTC 2018


    Date: Sunday, February 11, 2018 @ 15:26:36
  Author: bisson
Revision: 316623

upstream update

Modified:
  mpc/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-11 15:24:47 UTC (rev 316622)
+++ PKGBUILD	2018-02-11 15:26:36 UTC (rev 316623)
@@ -6,16 +6,17 @@
 # Contributor: Link Dupont <link at subpop.net>
 
 pkgname=mpc
-pkgver=0.28
+pkgver=0.29
 pkgrel=1
 pkgdesc='Minimalist command line interface to MPD'
 url='https://www.musicpd.org/clients/mpc/'
 license=('GPL2')
 arch=('x86_64')
+makedepends=('meson')
 depends=('libmpdclient')
 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
 source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('a4337d06c85dc81a638821d30fce8a137a58d13d510be34a11c1cce95cabc547'
+sha256sums=('02f1daec902cb48f8cdaa6fe21c7219f6231b091dddbe437a3a4fb12cb07b9d3'
             'SKIP')
 
 options=('!emptydirs')
@@ -22,12 +23,12 @@
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure --prefix=/usr 
-	make 
+	arch-meson . build
+	ninja -C build
 }
 
 package() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install 
-	install -Dm644 doc/mpc-completion.bash "${pkgdir}/usr/share/bash-completion/completions/mpc" 
+	DESTDIR="${pkgdir}" ninja -C build install 
+	install -Dm644 contrib/mpc-completion.bash "${pkgdir}/usr/share/bash-completion/completions/mpc" 
 }



More information about the arch-commits mailing list