1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Your Name <youremail@domain.com>
9 _pkgver=`echo $pkgver | sed 's|\.||g'`
11 pkgdesc="JustStyle CSS Editor"
13 url="http://www.ucware.com/juststyle"
19 source=("http://www.ucware.com/${pkgname}/${pkgname}-${_pkgver}-java-nojre.zip"
25 md5sums=('6fc9f2c5de08d00b0848532d8caae637'
26 'b672416afe61a1d7e13df672a4015285'
27 '298412873e376a8858903a17076e1a01'
28 'd4922463bc9622a5fe3942e16954f300')
33 install -d "${pkgdir}/opt/juststyle"
34 cd "${pkgdir}/opt/juststyle"
36 unzip "${srcdir}/${pkgname}-`echo ${pkgver} | sed 's|\.||g'`-java-nojre.zip" -d .
38 rm -rf windows os2 linux
40 install -Dm0755 "${srcdir}/juststyle" "${pkgdir}/usr/bin/juststyle"
41 install "${srcdir}/juststyle.png" "${pkgdir}/opt/juststyle/juststyle.png"
42 install -d "${pkgdir}/usr/share/applications"
43 install "${srcdir}/juststyle.desktop" "${pkgdir}/usr/share/applications/juststyle.desktop"
46 chmod 755 "${pkgdir}/opt/juststyle/juststyle.jar"
50 # vim:set ts=2 sw=2 et: