updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / serverswitch / PKGBUILD
blobe0c4bad97d99813735bbc1c7f441b69846a4613c
1 # Syco <SycoLTH at gmail dot com>
3 pkgname=serverswitch
4 pkgver=2.3
5 pkgrel=0
6 pkgdesc="GNOME daemon switch applet written in Java/GTK."
7 arch=('i686' 'x86_64')
8 url="http://www.albertorinaudo.info"
9 license=('GPL')
10 install='post.install'
11 depends=('jre' 'java-gnome')
12 source=(ServerSwitch.jar
13         ServerSwitch.png
14         ServerSwitch
15         ServerSwitch.desktop
16         ServerSwitch_auto.desktop)
17 md5sums=('22445a54bb2ad86bf7403aed1f0e13d8'
18          '95932d3fe2e03e4903ecb3be8c44323b'
19          'd2732da3de9b07da585225d7c95dd81e'
20          '3f150e9c30cb1b558376a5f4ec727907'
21          '34108e9b3d9a7b84d2295c6fb3d8ee15')
23 build () {
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