summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski2018-01-06 20:15:11 +0100
committerBartłomiej Piotrowski2018-01-06 20:15:11 +0100
commit99c83d5bba1d63785adf2cdcae4070c8362ebaa8 (patch)
treed1df858d2975931c063d6c3ee258f784883eda6c /PKGBUILD
downloadaur-99c83d5bba1d63785adf2cdcae4070c8362ebaa8.tar.gz
Import from official repositories
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..de63c56e6f0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 194152 2016-10-31 13:48:24Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sebastien Piccand <sebcactus@gmail.com>
+
+pkgname=dguitar
+pkgver=0.5.8
+pkgrel=6
+pkgdesc="A guitar pro tab reader"
+arch=('any')
+url="http://dguitar.sourceforge.net/"
+license=("GPL")
+depends=('java-runtime' 'sh')
+makedepends=('unzip')
+source=(http://download.sf.net/$pkgname/DGuitar-$pkgver.zip
+ dguitar.sh
+ dguitar.desktop)
+md5sums=('3d10723d96203705b4044b48a755990f'
+ 'fd6800cb0baddac00c9c058c42e6cd6a'
+ '4f5a55d4dd27871b5d9e78865c26d81a')
+
+package() {
+ cd "$srcdir"/DGuitar-$pkgver
+ install -D -m644 dist/DGuitar.jar "$pkgdir"/usr/share/java/dguitar/DGuitar.jar
+ install -D -m644 dist/Common.jar "$pkgdir"/usr/share/java/dguitar/Common.jar
+ install -D -m755 "$srcdir"/dguitar.sh "$pkgdir"/usr/bin/dguitar
+ install -D -m644 "$srcdir"/dguitar.desktop "$pkgdir"/usr/share/applications/dguitar.desktop
+ install -D -m644 skins/dguitar_32x32.png "$pkgdir"/usr/share/pixmaps/dguitar.png
+ mkdir -p "$pkgdir"/usr/share/dguitar
+ cp -r skins lang files "$pkgdir"/usr/share/dguitar
+ chmod -R 644 "$pkgdir"/usr/share/dguitar/*
+ chmod 755 "$pkgdir"/usr/share/dguitar/{lang,files,skins,skins/{default,compact}}
+}