[arch-commits] Commit in vmpk/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Dec 25 11:35:50 UTC 2021
Date: Saturday, December 25, 2021 @ 11:35:50
Author: dvzrv
Revision: 1083572
upgpkg: vmpk 0.8.6-1: Upgrade to 0.8.6.
Simplify quoting in file.
Simplify calls to camke (do not use cd).
Modified:
vmpk/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-25 11:34:18 UTC (rev 1083571)
+++ PKGBUILD 2021-12-25 11:35:50 UTC (rev 1083572)
@@ -2,33 +2,31 @@
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=vmpk
-pkgver=0.8.5
+pkgver=0.8.6
pkgrel=1
pkgdesc="Virtual MIDI Piano Keyboard"
-arch=('x86_64')
+arch=(x86_64)
url="http://vmpk.sourceforge.net/"
-license=('GPL3')
-groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'libxcb' 'qt5-base' 'qt5-x11extras')
-makedepends=('cmake' 'docbook-xsl' 'drumstick' 'qt5-tools')
+license=(GPL3)
+groups=(pro-audio)
+depends=(gcc-libs glibc libxcb qt5-base qt5-x11extras)
+makedepends=(cmake docbook-xsl drumstick qt5-tools)
source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver/a/}/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('62de7acc353b95511c1c1afd54d7c5ddb34de69fd2dff5dfccd6ed83b6e1ca2cfdcd36c1a4878118821dead8dd8b15c44a2c1138b677da3b218f8093e7a49abf')
-b2sums=('d13965358d21a81053cc5c32e11d0b8a9f6fda733ef5e7295cee7b774d8ca584ee58c0f7cd5f10f0f3948528031e314d09736fe3f7c0dc94929bcadd3aa94e5d')
+sha512sums=('0b77aabf1dda99c9149a5353fc9d0363469de2678e6089fc7dc13dc349587fd1b1630cf511c4d9ef384a7523b8f023e451d6c543a805dcda0bf5cf9d7a4b4277')
+b2sums=('a2145394a9ad90f567e292e23bd9b7f62e26160b6375a48cea2a84818139865a65fdde172f6a8b6e42015e0ce14127c1f97558e00b56ebc288fa1e3d3bd11eab')
build() {
- cd "${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE='None' \
+ -DCMAKE_BUILD_TYPE=None \
-Wno-dev \
-B build \
- -S .
+ -S "${pkgname}-${pkgver}"
make VERBOSE=1 -C build
}
package() {
- depends+=('libdrumstick-rt.so' 'libdrumstick-widgets.so')
- cd "${pkgname}-${pkgver}"
+ depends+=(libdrumstick-rt.so libdrumstick-widgets.so)
+
make DESTDIR="$pkgdir/" install -C build
- install -vDm 644 {AUTHORS,ChangeLog,NEWS,README.md,TODO} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 "${pkgname}-${pkgver}/"{AUTHORS,ChangeLog,NEWS,README.md,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list