[arch-commits] Commit in qastools/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 3 13:35:43 UTC 2019
Date: Thursday, October 3, 2019 @ 13:35:43
Author: dvzrv
Revision: 512501
upgpkg: qastools 0.22.0-1
Upgrading to 0.22.0. Switching to new upstream on gitlab. Minor cleanup.
Modified:
qastools/trunk/PKGBUILD
----------+
PKGBUILD | 40 +++++++++++++++++++++++-----------------
1 file changed, 23 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 13:07:51 UTC (rev 512500)
+++ PKGBUILD 2019-10-03 13:35:43 UTC (rev 512501)
@@ -2,35 +2,41 @@
# Contributor: Esclapion <esclapion at gmail.com>
pkgname=qastools
-pkgver=0.21.0
-pkgrel=4
+pkgver=0.22.0
+pkgrel=1
pkgdesc="A collection of desktop applications for the Linux sound system ALSA."
arch=('x86_64')
-url="https://xwmw.org/qastools/"
+url="https://gitlab.com/sebholt/qastools"
license=('GPL3')
groups=('pro-audio')
-depends=('alsa-lib' 'hicolor-icon-theme' 'qt5-svg')
+depends=('alsa-lib' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libudev.so'
+'qt5-base' 'qt5-svg')
makedepends=('cmake' 'qt5-tools')
-replaces=('qastools-qt5')
-source=("https://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}_${pkgver}.tar.bz2")
-sha512sums=('f1410129ead6a779a0ef517ce437b2d7c09e8d386fc81edeb1f99718820b6ef7edd562477058a2e935bae703a3c621912b1f7e18416f43d20263fa4f8d4b61dc')
+source=("https://gitlab.com/sebholt/${pkgname}/-/archive/v${pkgver}/qastools-v${pkgver}.tar.gz")
+sha512sums=('9656960095520a1bee58efa3985dda30fae1b6be666dfd65b50cb582be21a40d273a1c06b69e870bc2b467f5d644b22ea30c2fd73eee9057b50de5e85864d712')
prepare() {
- cd "${pkgname}_${pkgver}"
- mkdir -p build
+ mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ mkdir -vp build
}
build() {
- cd "${pkgname}_${pkgver}/build"
- cmake .. -DUSE_QT5=ON \
- -DCMAKE_INSTALL_PREFIX='/usr' \
- -DCMAKE_BUILD_TYPE=Release
+ cd "${pkgname}-${pkgver}"
+ (
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUSE_QT5=ON \
+ ..
+ )
+ make -C build
}
package() {
- cd "${pkgname}_${pkgver}/build"
- make DESTDIR="${pkgdir}/" install
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 ../{CHANGELOG,README,TODO}
+ cd "${pkgname}-${pkgver}"
+ make -C build DESTDIR="${pkgdir}/" install
+ install -vDm 644 {CHANGELOG,README.md,TODO} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list