[arch-commits] Commit in mpc/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 16 10:05:59 UTC 2020


    Date: Saturday, May 16, 2020 @ 10:05:59
  Author: felixonmars
Revision: 384020

archrelease: copy trunk to staging-x86_64

Added:
  mpc/repos/staging-x86_64/
  mpc/repos/staging-x86_64/PKGBUILD
    (from rev 384019, mpc/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: mpc/repos/staging-x86_64/PKGBUILD (from rev 384019, mpc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 10:05:59 UTC (rev 384020)
@@ -0,0 +1,33 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Link Dupont <link at subpop.net>
+
+pkgname=mpc
+pkgver=0.33
+pkgrel=2
+pkgdesc='Minimalist command line interface to MPD'
+url='https://www.musicpd.org/clients/mpc/'
+license=('GPL2')
+arch=('x86_64')
+makedepends=('meson' 'python-sphinx')
+depends=('libmpdclient')
+validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('4f40ccbe18f5095437283cfc525a97815e983cbfd3a29e48ff610fa4f1bf1296'
+            'SKIP')
+
+options=('!emptydirs')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	arch-meson . build
+	ninja -C build
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	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