[arch-commits] Commit in vmpk/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Dec 7 21:17:04 UTC 2017


    Date: Thursday, December 7, 2017 @ 21:17:04
  Author: dvzrv
Revision: 273182

upgpkg: vmpk 0.6.2a-4

Updating maintainer. Switching to https for source. Fixing link.
Installing various docs. Minor fixes.

Modified:
  vmpk/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-07 21:06:20 UTC (rev 273181)
+++ PKGBUILD	2017-12-07 21:17:04 UTC (rev 273182)
@@ -1,9 +1,10 @@
 # $Id$
-# Maintainer : speps <speps at aur dot archlinux dot org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=vmpk
 pkgver=0.6.2a
-pkgrel=3
+pkgrel=4
 pkgdesc="Virtual MIDI Piano Keyboard"
 arch=('x86_64')
 url="http://vmpk.sourceforge.net/"
@@ -10,16 +11,16 @@
 license=('GPL3')
 depends=('drumstick' 'qt5-x11extras')
 makedepends=('cmake' 'docbook-xsl' 'qt5-tools' 'libxkbcommon-x11')
-source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/${pkgver::-1}/$pkgname-$pkgver.tar.bz2")
-md5sums=('8d96d6b615c5d7a3f188275fcd0c08a1')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver/a/}/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('89ba161c3ca7ae260d02c175d1116bea7cdfdfddb0f303d8b9177eeb3d77ded8f6126bed43efa6c279daec0a987d0be30c280d59f42a7c145167fb54a7b8db16')
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   [ -d b ] || mkdir b
 }
 
 build() {
-  cd $pkgname-$pkgver/b
+  cd "${pkgname}-${pkgver}/b"
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_BUILD_TYPE=release
   make
@@ -26,6 +27,12 @@
 }
 
 package() {
-  cd $pkgname-$pkgver/b
+  cd "${pkgname}-${pkgver}/b"
   make DESTDIR="$pkgdir/" install
+  cd ..
+  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"
 }



More information about the arch-commits mailing list