Commit | Line | Data |
---|---|---|
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 | ||
5 | pkgname=java-swing-default-laf-gtk | |
6 | pkgver=1 | |
7 | pkgrel=1 | |
8 | pkgdesc='Set default java (swing) applications appearance (LookAndFeel) to native GTK+ using swing.properties file' | |
9 | arch=('any') | |
10 | license=('Copyleft') | |
11 | url='http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/plaf.html' | |
12 | depends=('java-runtime') | |
13 | ||
14 | source=('swing.properties') | |
15 | md5sums=('c13b8a070befe250214da2558b227a6c') | |
16 | ||
17 | build() { | |
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 | } |