[arch-commits] Commit in sonic-visualiser/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Jul 18 18:46:22 UTC 2018
Date: Wednesday, July 18, 2018 @ 18:46:21
Author: dvzrv
Revision: 362282
upgpkg: sonic-visualiser 3.1-2
Removing broken mimetype specifications. Using INSTALL_ROOT to get around the missing DESTDIR implementation in the install target for the binaries at least.
Modified:
sonic-visualiser/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-18 18:20:52 UTC (rev 362281)
+++ PKGBUILD 2018-07-18 18:46:21 UTC (rev 362282)
@@ -6,7 +6,7 @@
_download_id=2381
pkgname=sonic-visualiser
pkgver=3.1
-pkgrel=1
+pkgrel=2
pkgdesc="A viewer and analyser of music audio files."
arch=('x86_64')
url="https://www.sonicvisualiser.org/"
@@ -20,7 +20,11 @@
build() {
cd "${pkgname}-${pkgver}"
+ # DESTDIR still ignored
+ # https://sourceforge.net/p/sv1/bugs/254
+ export INSTALL_ROOT="${pkgdir}/"
./configure --prefix=/usr
+ qmake-qt5 ${pkgname}.pro
make
}
@@ -27,19 +31,12 @@
package() {
cd "${pkgname}-${pkgver}"
- make install DESTDIR="${pkgdir}/"
- # install everything separately, because build system is broken:
+ make install
+ # install some things separately, because build system is broken:
# https://sourceforge.net/p/sv1/bugs/247/
- # binaries
- install -vDm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -vDm 755 piper-vamp-simple-server \
- "${pkgdir}/usr/bin/piper-vamp-simple-server"
- install -vDm 755 vamp-plugin-load-checker \
- "${pkgdir}/usr/bin/vamp-plugin-load-checker"
-
# desktop files
- install -t "${pkgdir}/usr/share/applications/" -vDm 644 *.desktop
+ install -t "${pkgdir}/usr/share/applications/" -vDm 644 "${pkgname}.desktop"
# icons
for _s in 16 22 24 32 48 64 128; do
More information about the arch-commits
mailing list