[arch-commits] Commit in vmpk/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jan 7 11:19:44 UTC 2021
Date: Thursday, January 7, 2021 @ 11:19:44
Author: dvzrv
Revision: 811570
upgpkg: vmpk 0.8.0-1: Upgrade to 0.8.0.
Add all direct dependencies in depends.
Add all available sodeps in package() and the respective packages in makedepends.
Apply latest cmake packaging guidelines.
Update maintainer info.
Modified:
vmpk/trunk/PKGBUILD
----------+
PKGBUILD | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-07 11:06:28 UTC (rev 811569)
+++ PKGBUILD 2021-01-07 11:19:44 UTC (rev 811570)
@@ -1,34 +1,34 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=vmpk
-pkgver=0.7.2
-pkgrel=2
+pkgver=0.8.0
+pkgrel=1
pkgdesc="Virtual MIDI Piano Keyboard"
arch=('x86_64')
url="http://vmpk.sourceforge.net/"
license=('GPL3')
groups=('pro-audio')
-depends=('drumstick' 'qt5-x11extras')
-makedepends=('cmake' 'docbook-xsl' 'qt5-tools' 'libxkbcommon-x11')
+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=('69e31d6fd91a6604b7482b18840ed0b274723f380d7fe59827391e9031c3c670cb4e331c8bff01aacf6271973689f0bdb8c1dad4b749524095b398063634a477')
+sha512sums=('b3e1e40792661c1e4ce3a5274513b4b75742ca861a6233c2653d6df90b7a89e086d15a4196d59c7021c48e9e2aae83116ba29c3395960179d602f0cb06c1f608')
+b2sums=('9fee766b71ad7f9cd96f9dfd859dc31434f14c913c75f5a8e76c66150522dbf04c6e28582269d1603c6d53d6db436e9e7f73cab1172c0d6b004cc71edccb21c8')
-prepare() {
+build() {
cd "${pkgname}-${pkgver}"
- mkdir build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE='None' \
+ -Wno-dev \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
}
-build() {
- cd "${pkgname}-${pkgver}/build"
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
package() {
- cd "${pkgname}-${pkgver}/build"
- make DESTDIR="$pkgdir/" install
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 ../{AUTHORS,ChangeLog,NEWS,README,TODO}
+ depends+=('libdrumstick-rt.so' 'libdrumstick-widgets.so')
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir/" install -C build
+ install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list