1 # Maintainer: Tommi Helineva <tommi.helineva+aur@gmail.com>
5 pkgdesc="A Finnish accounting software"
7 url="http://helineva.net/tilitin/"
9 depends=('java-environment')
10 makedepends=('apache-ant')
11 install='tilitin.install'
12 source=(tilitin.sh tilitin.desktop http://helineva.net/tilitin/tilitin-${pkgver}-src.zip)
13 sha1sums=('7c244c5aee25582597491895d4ecb876ed809b7e'
14 'd7ad246707019abb960458a9a01501a2a4fd65a2'
15 '71dcb91eff1a4990d04569006780900d8f5503d9')
18 cd "$srcdir/$pkgname-$pkgver"
19 /usr/share/java/apache-ant/bin/ant
23 install -D -m 755 $startdir/tilitin.sh $pkgdir/usr/bin/tilitin
24 install -D -m 644 $startdir/tilitin.desktop $pkgdir/usr/share/applications/tilitin.desktop
25 cd "$srcdir/$pkgname-$pkgver"
26 install -D -m 644 dist/tilitin.jar $pkgdir/usr/lib/tilitin/tilitin.jar
27 mkdir -p $pkgdir/usr/lib/tilitin/tilikarttamallit
28 install -D -m 644 lib/itext.jar $pkgdir/usr/lib/tilitin/itext.jar
29 install -D -m 644 lib/postgresql-jdbc.jar $pkgdir/usr/lib/tilitin/postgresql-jdbc.jar
30 install -D -m 644 lib/sqlite-jdbc.jar $pkgdir/usr/lib/tilitin/sqlite-jdbc.jar
31 install -m 644 tilikarttamallit/*.jar $pkgdir/usr/lib/tilitin/tilikarttamallit/
32 install -D -m 644 src/kirjanpito/ui/resources/tilitin-24x24.png $pkgdir/usr/share/icons/hicolor/24x24/apps/tilitin.png
33 install -D -m 644 src/kirjanpito/ui/resources/tilitin-32x32.png $pkgdir/usr/share/icons/hicolor/32x32/apps/tilitin.png
34 install -D -m 644 src/kirjanpito/ui/resources/tilitin-48x48.png $pkgdir/usr/share/icons/hicolor/48x48/apps/tilitin.png