summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94a2bea950927853d3bb9e87d5a556b89b514bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Christoph Steinacker <archologist.linuxATgooglemailDOTcom>
pkgname=jes
pkgver=1.01.02
pkgrel=1
pkgdesc="A java-based tool for german cash method of accounting (Einnahme-√úberschuss-Rechnung)"
arch=('any')
url="http://www.jes-eur.de"
license=('custom')
#install="${pkgname}.install"
depends=('java-runtime' 'x-server' 'xdg-utils')
source=(http://jes-eur.de/userfiles/downloads/jes/jes_10102.zip
        ${pkgname}.desktop
	${pkgname}.sh.new
	LICENSE
)
package() {
  # Removing delivered shell script
  rm $srcdir/$pkgname.sh

  cd ${srcdir}
  install -D -m755 jes.jar ${pkgdir}/usr/share/java/${pkgname}/jes.jar

  install -D -m755 ${pkgname}.sh.new ${pkgdir}/usr/bin/${pkgname}
  install -D -m644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop

  # Installing the LICENSE
  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE

  # Installing the icons
  install -D -m644 ${pkgname}.png ${pkgdir}/usr/share/icons/hicolor/128x128/apps/${pkgname}.png
}
md5sums=('0d60a5e0eb83a1dd302cd3d268337aaa'
	 'fb13c662b57cf5a59ba54004de735b82'
	 '611c2047318cbad2e5ae2f186f26593d'
   '7d5b1e5c39c18e5f943bb35f6bccd62a')