Date: Monday, February 19, 2018 @ 02:25:27 Author: dvzrv Revision: 296301
upgpkg: qsynth 0.5.0-1 Upgrading to 0.5.0. Switching to https for url and source. Removing unneeded things. Adding various docs. Modified: qsynth/trunk/PKGBUILD ----------+ PKGBUILD | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-02-19 02:20:35 UTC (rev 296300) +++ PKGBUILD 2018-02-19 02:25:27 UTC (rev 296301) @@ -1,43 +1,31 @@ # $Id$ +# Maintainer: David Runge <[email protected]> # Maintainer: Ray Rashif <[email protected]> # Contributor: damir <[email protected]> pkgname=qsynth -pkgver=0.4.3 +pkgver=0.5.0 pkgrel=1 pkgdesc="Qt GUI for FluidSynth" arch=('x86_64') -url="http://qsynth.sourceforge.net/" +url="https://qsynth.sourceforge.net/" license=('GPL') depends=('fluidsynth' 'qt5-x11extras' 'hicolor-icon-theme') makedepends=('qt5-tools') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('997cd7f7cd83cd6d61f9d7aba5d6c88a') +source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('3c7026edfef3115fae8e2167bb961f5e32d886c8d75b3534a3f110d921264cd270953145a4737f9d6660c55fccce81d7306ec0ce4064df6e7226598b52399298') -prepare() { - cd $pkgname-$pkgver - # Fix build with GCC 6 - #sed -i.ac_with_paths -e "s|^ac_with_paths=.*|ac_with_paths=|g" configure -} - build() { - cd "$srcdir/$pkgname-$pkgver" - - export ac_qmake=/usr/bin/qmake-qt5 \ - ac_moc=/usr/bin/moc-qt5 \ - ac_uic=/usr/bin/uic-qt5 \ - ac_lupdate=/usr/bin/lupdate-qt5 \ - ac_lrelease=/usr/bin/lrelease-qt5 \ - QMAKE=qmake-qt5 - + cd "${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgver" - + cd "${pkgname}-${pkgver}" make DESTDIR="$pkgdir" install + install -t "${pkgdir}/usr/share/doc/${pkgname}" \ + -vDm644 {AUTHORS,ChangeLog,README,TODO,TRANSLATORS} } # vim:set ts=2 sw=2 et:
