csync-git
[mirrors/ArchLinux-Packages.git] / java-swing-default-laf / PKGBUILD
CommitLineData
209feeb0
H
1# Contributor: Thomas Mudrunka <harvie@@email..cz>
2# Maintainer: Thomas Mudrunka <harvie@@email..cz>
3# You can also contact me on http://blog.harvie.cz/
4
5pkgname=java-swing-default-laf-gtk
6pkgver=1
7pkgrel=1
8pkgdesc='Set default java (swing) applications appearance (LookAndFeel) to native GTK+ using swing.properties file'
9arch=('any')
10license=('Copyleft')
11url='http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html'
12depends=('java-runtime')
13
14source=('swing.properties')
15md5sums=('c13b8a070befe250214da2558b227a6c')
16
17build() {
18 #you can modify swing.properties to use different LookAndFeel
19 #you can also add more directories here (when you have multiple java instalations)
20 for i in '/opt/java/jre/lib' '/opt/java/lib'; do
21 msg2 "installing swing.properties to $i";
22 mkdir -p ${pkgdir}${i}/ || return 1
23 cp swing.properties ${pkgdir}${i}/ || return 1
24 done;
25}
This page took 0.201943 seconds and 4 git commands to generate.