1 # Syco <SycoLTH at gmail dot com>
6 pkgdesc="GNOME daemon switch applet written in Java/GTK."
8 url="http://www.albertorinaudo.info"
10 install='post.install'
11 depends=('jre' 'java-gnome')
12 source=(ServerSwitch.jar
16 ServerSwitch_auto.desktop)
17 md5sums=('22445a54bb2ad86bf7403aed1f0e13d8'
18 '95932d3fe2e03e4903ecb3be8c44323b'
19 'd2732da3de9b07da585225d7c95dd81e'
20 '3f150e9c30cb1b558376a5f4ec727907'
21 '34108e9b3d9a7b84d2295c6fb3d8ee15')
24 install -D -m 644 ${srcdir}/ServerSwitch.jar ${pkgdir}/opt/ServerSwitch/ServerSwitch.jar
25 install -D -m 644 ${srcdir}/ServerSwitch.png ${pkgdir}/opt/ServerSwitch/ServerSwitch.png
26 install -D -m 755 ${srcdir}/ServerSwitch ${pkgdir}/usr/bin/ServerSwitch
27 install -D -m 755 ${srcdir}/ServerSwitch.desktop ${pkgdir}/usr/share/applications/ServerSwitch.desktop
28 install -D -m 755 ${srcdir}/ServerSwitch_auto.desktop ~/.config/autostart/ServerSwitch.desktop
29 ln -s /usr/share/java/ ${pkgdir}/opt/ServerSwitch/lib