Date: Sunday, December 3, 2017 @ 00:47:22 Author: dvzrv Revision: 271948
upgpkg: drumstick 1.1.0-2 Updating maintainer. Switching to correct license (GPL2). Switching to https for source. Switching to sha512sums. Removing unneeded out-of-tree build. Installing various docs. Modified: drumstick/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-12-03 00:44:09 UTC (rev 271947) +++ PKGBUILD 2017-12-03 00:47:22 UTC (rev 271948) @@ -1,33 +1,34 @@ # $Id$ -# Maintainer : speps <speps at aur dot archlinux dot org> +# Maintainer: David Runge <[email protected]> +# Contributor: speps <speps at aur dot archlinux dot org> # Contributor: Dany Martineau <[email protected]> pkgname=drumstick pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="MIDI libraries for Qt5/C++" arch=('x86_64') url="http://drumstick.sourceforge.net/" -license=('GPL') +license=('GPL2') depends=('desktop-file-utils' 'fluidsynth' 'hicolor-icon-theme' 'shared-mime-info' 'qt5-svg') makedepends=('cmake' 'doxygen' 'docbook-xsl') -source=("http://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2") -md5sums=('8b72ff32bbd3887c53b282a7111e683f') +source=("https://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2") +sha512sums=('1099b80e1d2819a8343e877742c5f01c114419b2c63a965717bcff2c220aa218f40ac3860cf9496d3586663e73a6c2c7b62aee74c51229578a5ae3044da208da') -prepare() { - cd $pkgname-$pkgver - [ -d b ] || mkdir b -} - build() { - cd $pkgname-$pkgver/b - cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DLIB_SUFFIX= + cd "${pkgname}-${pkgver}" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_SUFFIX= make } package() { - cd $pkgname-$pkgver/b - make DESTDIR="$pkgdir/" install + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}/" install + install -Dm644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS" + install -Dm644 ChangeLog "${pkgdir}/usr/share/doc/${pkgname}/ChangeLog" + install -Dm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS" + install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README" + install -Dm644 TODO "${pkgdir}/usr/share/doc/${pkgname}/TODO" }
