updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / baralga / PKGBUILD
blob0d6ae02ad1dfff24d3ed8e35b14037ba570e96d4
1 # Maintainer: nblock <nblock [/at\] archlinux DOT us>
2 # Contributor: xduugu
4 pkgname=baralga
5 pkgver=1.6
6 pkgrel=1
7 pkgdesc="A simple and lightweight time tracking solution for freelancers and consultants"
8 arch=('any')
9 url="http://baralga.origo.ethz.ch/"
10 license=('LGPL3')
11 depends=('java-runtime')
12 options=(emptydirs)
13 source=($pkgname
14         http://download.origo.ethz.ch/$pkgname/2467/${pkgname^}-Portable-${pkgver//_/-}.zip)
15 md5sums=('7537949bdc9b31cd2d4c770c220ec1da'
16          '47b282b0d253d81b4df3cc62048280e5')
18 build() {
19         cd "$srcdir/${pkgname/b/B}-${pkgver//_/-}"
20         
21         install -d "$pkgdir/usr/share/$pkgname/"{lib,data}
22         install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
23         install -m644 "${pkgname/b/B}-${pkgver//_/-}.jar" "$pkgdir/usr/share/$pkgname/$pkgname.jar"
24         install -m644 lib/* "$pkgdir/usr/share/$pkgname/lib/"
25         #ignore contents of data/ for now ...
28 # vim:set ts=2 sw=2 noet: