mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
1.3 KiB
Bash
32 lines
1.3 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sebastien Piccand <sebcactus@gmail.com>
|
|
|
|
pkgname=dguitar
|
|
pkgver=0.5.8
|
|
pkgrel=2
|
|
pkgdesc="A guitar pro tab reader"
|
|
arch=(i686 x86_64)
|
|
url="http://dguitar.sourceforge.net/"
|
|
license=("GPL")
|
|
depends=('java-runtime')
|
|
makedepends=('unzip')
|
|
source=(http://download.sf.net/$pkgname/DGuitar-$pkgver.zip \
|
|
dguitar.sh \
|
|
dguitar.desktop)
|
|
md5sums=('3d10723d96203705b4044b48a755990f' \
|
|
'fd6800cb0baddac00c9c058c42e6cd6a' \
|
|
'4f5a55d4dd27871b5d9e78865c26d81a')
|
|
|
|
build() {
|
|
cd $startdir/src/DGuitar-$pkgver
|
|
install -D -m644 dist/DGuitar.jar $startdir/pkg/usr/share/java/dguitar/DGuitar.jar
|
|
install -D -m644 dist/Common.jar $startdir/pkg/usr/share/java/dguitar/Common.jar
|
|
install -D -m755 $startdir/src/dguitar.sh $startdir/pkg/usr/bin/dguitar
|
|
install -D -m644 $startdir/src/dguitar.desktop $startdir/pkg/usr/share/applications/dguitar.desktop
|
|
install -D -m644 skins/dguitar_32x32.png $startdir/pkg/usr/share/pixmaps/dguitar.png
|
|
mkdir -p $startdir/pkg/usr/share/dguitar
|
|
cp -r skins lang files $startdir/pkg/usr/share/dguitar
|
|
chmod -R 644 $startdir/pkg/usr/share/dguitar/*
|
|
chmod 755 $startdir/pkg/usr/share/dguitar/{lang,files,skins,skins/{default,compact}}
|
|
}
|