summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlmari Ayres2018-10-30 10:46:43 +0200
committerIlmari Ayres2018-10-30 10:48:51 +0200
commit46e3fb31cfda143d5702a1d1c3989a1f39101893 (patch)
treed5a8fbdc742f12e10a5338560d0b69cb57aee4ca
downloadaur-46e3fb31cfda143d5702a1d1c3989a1f39101893.tar.gz
Version 1.5.0
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD41
-rw-r--r--tilitin.desktop9
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..676888ae6c3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = tilitin
+ pkgdesc = Finnish accounting program
+ pkgver = 1.5.0
+ pkgrel = 1
+ url = https://helineva.net/tilitin/
+ arch = any
+ license = GPL3
+ makedepends = ant
+ depends = java-environment
+ depends = sqlite-jdbc
+ source = https://helineva.net/tilitin/tilitin-1.5.0-src.zip
+ source = tilitin.desktop
+ md5sums = fe74542c93f72bb2f5fc17b56df541b8
+ md5sums = 237f58ca020a5e57c5eae8e3065bb01b
+
+pkgname = tilitin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..02421768d78
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=tilitin
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Finnish accounting program"
+arch=(any)
+url="https://helineva.net/tilitin/"
+license=('GPL3')
+groups=()
+depends=('java-environment' 'sqlite-jdbc')
+makedepends=('ant')
+install=
+changelog=
+source=(https://helineva.net/tilitin/tilitin-1.5.0-src.zip tilitin.desktop)
+md5sums=(fe74542c93f72bb2f5fc17b56df541b8 237f58ca020a5e57c5eae8e3065bb01b)
+
+build() {
+ cd "$pkgname-$pkgver"
+ ant compile
+}
+
+package() {
+ mkdir -p $pkgdir/usr/share/applications
+ cp tilitin.desktop $pkgdir/usr/share/applications
+
+ cd "$pkgname-$pkgver"
+
+ mkdir -p $pkgdir/usr/share/tilitin
+ cp dist/tilitin.jar $pkgdir/usr/share/tilitin
+ cp tilikarttamallit $pkgdir/usr/share/tilitin -r
+
+ ln -s /usr/share/java/sqlite-jdbc/sqlite-jdbc.jar $pkgdir/usr/share/tilitin/sqlite-jdbc.jar
+
+ mkdir -p $pkgdir/usr/share/icons/hicolor/24x24/apps/
+ mkdir -p $pkgdir/usr/share/icons/hicolor/32x32/apps/
+ mkdir -p $pkgdir/usr/share/icons/hicolor/48x48/apps/
+
+ cp src/kirjanpito/ui/resources/tilitin-24x24.png $pkgdir/usr/share/icons/hicolor/24x24/apps/tilitin.png
+ cp src/kirjanpito/ui/resources/tilitin-32x32.png $pkgdir/usr/share/icons/hicolor/32x32/apps/tilitin.png
+ cp src/kirjanpito/ui/resources/tilitin-48x48.png $pkgdir/usr/share/icons/hicolor/48x48/apps/tilitin.png
+}
diff --git a/tilitin.desktop b/tilitin.desktop
new file mode 100644
index 00000000000..5ff314a8316
--- /dev/null
+++ b/tilitin.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Terminal=false
+Exec=java -Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar /usr/share/tilitin/tilitin.jar $@
+Icon=tilitin
+Type=Application
+Categories=Application;Office;
+StartupNotify=false
+Name=Tilitin
+GenericName=Kirjanpito-ohjelma