diff options
author | Konstantinos | 2017-06-17 19:19:59 +0300 |
---|---|---|
committer | Konstantinos | 2017-06-17 19:19:59 +0300 |
commit | e87f3397b7c683532745a28f69c781fc87a73283 (patch) | |
tree | 3a8520934302c2d4b5ecde387f5948bf4301749b /PKGBUILD | |
download | aur-e87f3397b7c683532745a28f69c781fc87a73283.tar.gz |
useful commit message
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..81e2eed678ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Konstantinos Foutzopoulos <mail@konfou.xyz> + +_pkgname=vmpk +pkgname=${_pkgname}-svn +pkgver=20170416.474 +pkgrel=1 +pkgdesc="Virtual MIDI Piano Keyboard. (SVN version)" +arch=('x86_64' 'i686') +url="http://vmpk.sourceforge.net" +license=('GPL3') +depends=('drumstick' 'qt5-x11extras') +makedepends=('cmake' 'docbook-xsl' 'qt5-tools' 'libxkbcommon-x11' 'subversion') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("svn+https://svn.code.sf.net/p/${_pkgname}/code/trunk") +sha256sums=('SKIP') + +pkgver() { + cd trunk + svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}' +} + +build() { + cd trunk/desktop + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=release + make +} + +package() { + cd trunk/desktop + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: |