[arch-commits] Commit in csoundqt/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Jul 7 11:59:36 UTC 2019
Date: Sunday, July 7, 2019 @ 11:59:36
Author: dvzrv
Revision: 487626
archrelease: copy trunk to community-x86_64
Added:
csoundqt/repos/community-x86_64/PKGBUILD
(from rev 487625, csoundqt/trunk/PKGBUILD)
Deleted:
csoundqt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 97 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-07 11:59:30 UTC (rev 487625)
+++ PKGBUILD 2019-07-07 11:59:36 UTC (rev 487626)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Ainola
-# Contributor: rtfreedman
-
-_pkgver=0.9.6-rc1
-_name=CsoundQt
-pkgname=csoundqt
-pkgver=${_pkgver//-}
-pkgrel=1
-pkgdesc="Csound frontend with highlighting editor, autocomplete, interactive widgets and integrated help"
-arch=('x86_64')
-url="https://csoundqt.github.io/"
-license=('CCPL' 'FDL' 'GPL' 'LGPL2.1')
-groups=('pro-audio')
-depends=('csound' 'csound-doc' 'desktop-file-utils' 'hicolor-icon-theme' 'qt5-declarative' 'rtmidi')
-makedepends=('shared-mime-info')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${_pkgver}.tar.gz")
-sha512sums=('6ed98d28248936a860b6f92432e031c54f9584ec0b826dc6d1e69adade781d4104f613fc969196b188a413990cc1196821a9ecffc3aea5d653ec2da65be5c2f2')
-
-prepare() {
- mv -v "${_name}-${_pkgver}" "${pkgname}-${pkgver}"
- cd "${pkgname}-${pkgver}"
- # fix inclusion of wrong path:
- # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-508981111
- sed -e 's|/usr/local/rtmidi|/usr/include/rtmidi|g' \
- -i config.pri
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- qmake-qt5 qcs.pro \
- SHARE_DIR="${pkgdir}/usr/share" \
- INSTALL_DIR="${pkgdir}/usr"
- make
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- # overwrite broken symlink:
- # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-508982990
- ln -svf "${_name}-d-cs6" "${pkgdir}/usr/bin/${pkgname}"
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
- -vDm644 {ChangeLog,README.md}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: csoundqt/repos/community-x86_64/PKGBUILD (from rev 487625, csoundqt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-07 11:59:36 UTC (rev 487626)
@@ -0,0 +1,49 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ainola
+# Contributor: rtfreedman
+
+_pkgver=0.9.6-rc1
+_name=CsoundQt
+pkgname=csoundqt
+pkgver=${_pkgver//-}
+pkgrel=2
+pkgdesc="Csound frontend with highlighting editor, autocomplete, interactive widgets and integrated help"
+arch=('x86_64')
+url="https://csoundqt.github.io/"
+license=('CCPL' 'FDL' 'GPL' 'LGPL2.1')
+groups=('pro-audio')
+depends=('csound' 'csound-doc' 'desktop-file-utils' 'hicolor-icon-theme' 'qt5-declarative' 'rtmidi')
+makedepends=('shared-mime-info')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${_pkgver}.tar.gz")
+sha512sums=('6ed98d28248936a860b6f92432e031c54f9584ec0b826dc6d1e69adade781d4104f613fc969196b188a413990cc1196821a9ecffc3aea5d653ec2da65be5c2f2')
+
+prepare() {
+ mv -v "${_name}-${_pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ # fix inclusion of wrong path:
+ # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-508981111
+ sed -e 's|/usr/local/rtmidi|/usr/include/rtmidi|g' \
+ -i config.pri
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ qmake-qt5 qcs.pro \
+ SHARE_DIR="${pkgdir}/usr/share" \
+ INSTALL_DIR="${pkgdir}/usr" \
+ CONFIG+=rtmidi
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ # overwrite broken symlink:
+ # https://github.com/CsoundQt/CsoundQt/issues/258#issuecomment-508982990
+ ln -svf "${_name}-d-cs6" "${pkgdir}/usr/bin/${pkgname}"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+ -vDm644 {ChangeLog,README.md}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list