[arch-commits] Commit in qastools/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Feb 7 14:08:22 UTC 2018
Date: Wednesday, February 7, 2018 @ 14:08:21
Author: dvzrv
Revision: 289998
archrelease: copy trunk to community-x86_64
Added:
qastools/repos/community-x86_64/
qastools/repos/community-x86_64/PKGBUILD
(from rev 289997, qastools/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: qastools/repos/community-x86_64/PKGBUILD (from rev 289997, qastools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-02-07 14:08:21 UTC (rev 289998)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Esclapion <esclapion at gmail.com>
+
+pkgname=qastools
+pkgver=0.21.0
+pkgrel=3
+pkgdesc="A collection of desktop applications for the Linux sound system ALSA."
+arch=('x86_64')
+url="http://xwmw.org/qastools/"
+license=('GPL3')
+depends=('alsa-lib' 'hicolor-icon-theme' 'qt5-svg')
+makedepends=('cmake' 'qt5-tools')
+replaces=('qastools-qt5')
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}_${pkgver}.tar.bz2")
+sha512sums=('f1410129ead6a779a0ef517ce437b2d7c09e8d386fc81edeb1f99718820b6ef7edd562477058a2e935bae703a3c621912b1f7e18416f43d20263fa4f8d4b61dc')
+
+prepare() {
+ cd "${pkgname}_${pkgver}"
+ mkdir -p build
+}
+
+build() {
+ cd "${pkgname}_${pkgver}/build"
+ cmake .. -DUSE_QT5=ON \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_BUILD_TYPE=Release
+}
+
+package() {
+ cd "${pkgname}_${pkgver}/build"
+ make DESTDIR="${pkgdir}/" install
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm644 ../{CHANGELOG,README,TODO}
+}
+
More information about the arch-commits
mailing list