[arch-commits] Commit in mpc/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Feb 19 11:02:03 UTC 2022
Date: Saturday, February 19, 2022 @ 11:02:02
Author: dvzrv
Revision: 437741
upgpkg: mpc 0.34-2: Rebuild to add debug package.
Remove unneeded option to remove empty dirs.
Simplify calls to meson/ninja.
Remove unneeded quotes and curly braces.
Modified:
mpc/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-19 10:56:52 UTC (rev 437740)
+++ PKGBUILD 2022-02-19 11:02:02 UTC (rev 437741)
@@ -7,7 +7,7 @@
pkgname=mpc
pkgver=0.34
-pkgrel=1
+pkgrel=2
pkgdesc="Minimalist command line interface to MPD"
arch=(x86_64)
url="https://www.musicpd.org/clients/mpc/"
@@ -14,7 +14,7 @@
license=(GPL2)
depends=(glibc)
makedepends=(libmpdclient meson python-sphinx rsync)
-options=(!emptydirs)
+options=(debug)
source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha512sums=('d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2'
'SKIP')
@@ -24,8 +24,7 @@
build() {
- cd "${pkgname}-${pkgver}"
- arch-meson build
+ arch-meson build $pkgname-$pkgver
ninja -C build
}
@@ -32,9 +31,8 @@
package() {
depends+=(libmpdclient.so)
- cd "${pkgname}-${pkgver}"
- DESTDIR="${pkgdir}" ninja -C build install
- install -vDm 644 contrib/mpc-completion.bash "${pkgdir}/usr/share/bash-completion/completions/mpc"
+ DESTDIR="$pkgdir" ninja -C build install
+ 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}
+ rm -rvf "$pkgdir/usr/share/doc/$pkgname/"{html,contrib/*.bash}
}
More information about the arch-commits
mailing list