David Runge pushed to branch main at Arch Linux / Packaging / Packages / mpc


Commits:
1927268a by David Runge at 2023-12-22T20:29:47+01:00
Switch to correct SPDX license identifier for upstream project

Signed-off-by: David Runge <[email protected]>

- - - - -
0fac2ae7 by David Runge at 2023-12-22T20:31:58+01:00
Use bash arrays with one entry per line for easier handling

Signed-off-by: David Runge <[email protected]>

- - - - -
aa1e74db by David Runge at 2023-12-22T20:43:25+01:00
Apply meson package guidelines

Signed-off-by: David Runge <[email protected]>

- - - - -
43bf4db2 by David Runge at 2023-12-22T20:48:08+01:00
upgpkg: 0.35-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,24 @@
+pkgbase = mpc
+       pkgdesc = Minimalist command line interface to MPD
+       pkgver = 0.35
+       pkgrel = 1
+       url = https://www.musicpd.org/clients/mpc/
+       arch = x86_64
+       license = GPL-2.0-or-later
+       makedepends = libmpdclient
+       makedepends = meson
+       makedepends = python-sphinx
+       makedepends = rsync
+       depends = glibc
+       source = https://www.musicpd.org/download/mpc/0/mpc-0.35.tar.xz
+       source = https://www.musicpd.org/download/mpc/0/mpc-0.35.tar.xz.sig
+       validpgpkeys = 0392335A78083894A4301C43236E8A58C6DB4512
+       sha512sums = 
be7ec268432eb8e34092d025e6a40379e83d54e5f87943beeb87ed8fe9db4c5c8261b09cc3230ada28300151382f97b1c2da45f54e8aad68af9946f484d0b28b
+       sha512sums = SKIP
+       b2sums = 
7e47d78b762b7334f5fec13897bdf11859310932371a55c189c4554b347f097852e5fa17be3df03d047fabcc60699a3b310d0aa395aadd96a5ebff009a2ddba0
+       b2sums = SKIP
+
+pkgname = mpc
+       depends = glibc
+       depends = libmpdclient
+       depends = libmpdclient.so


=====================================
PKGBUILD
=====================================
@@ -6,25 +6,30 @@
 # Contributor: Link Dupont <[email protected]>
 
 pkgname=mpc
-pkgver=0.34
-pkgrel=3
+pkgver=0.35
+pkgrel=1
 pkgdesc="Minimalist command line interface to MPD"
 arch=(x86_64)
 url="https://www.musicpd.org/clients/mpc/";
-license=(GPL2)
+license=(GPL-2.0-or-later)
 depends=(glibc)
-makedepends=(libmpdclient meson python-sphinx rsync)
+makedepends=(
+  libmpdclient
+  meson
+  python-sphinx
+  rsync
+)
 
source=(https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
-sha512sums=('d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2'
+sha512sums=('be7ec268432eb8e34092d025e6a40379e83d54e5f87943beeb87ed8fe9db4c5c8261b09cc3230ada28300151382f97b1c2da45f54e8aad68af9946f484d0b28b'
             'SKIP')
-b2sums=('709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f'
+b2sums=('7e47d78b762b7334f5fec13897bdf11859310932371a55c189c4554b347f097852e5fa17be3df03d047fabcc60699a3b310d0aa395aadd96a5ebff009a2ddba0'
         'SKIP')
 validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann 
<[email protected]>
 
 
 build() {
   arch-meson build $pkgname-$pkgver
-  ninja -C build
+  meson compile -C build
 }
 
 package() {
@@ -32,7 +37,7 @@ package() {
     libmpdclient libmpdclient.so
   )
 
-  DESTDIR="$pkgdir" ninja -C build install
+  meson install -C build --destdir "$pkgdir"
   install -vDm 644 $pkgname-$pkgver/contrib/mpc-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/mpc"
   # the html documentation is not reproducible and only the man page is needed
   rm -rvf "$pkgdir/usr/share/doc/$pkgname/"{html,contrib/*.bash}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mpc/-/compare/9e82c07e37b975d5f7417d884d9caca78885019e...43bf4db2d2f8b1e870fddf407a5c2632da5c53f1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mpc/-/compare/9e82c07e37b975d5f7417d884d9caca78885019e...43bf4db2d2f8b1e870fddf407a5c2632da5c53f1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to