updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / jnote / PKGBUILD
blob279e39cc6016de5dca39f05a6f5f23023e55d983
1 # Syco <SycoLTH at gmail dot com>
3 pkgname=jnote
4 _pkgname=JNote
5 pkgver=1.0
6 pkgrel=0
7 pkgdesc="GNOME note applet written in Java/GTK."
8 arch=('i686' 'x86_64')
9 url="http://www.albertorinaudo.info"
10 license=('GPL')
11 depends=('jre' 'java-gnome')
12 source=(http://www.thechosenbyte.com/portfolio/downloads/${_pkgname}-${pkgver}/${_pkgname}.tar.gz)
13 md5sums=('187f6f0a769b72b3c1c76c75ef80a145')
15 build () {
16   cd ${srcdir}
17   mkdir -p ${pkgdir}/opt/${_pkgname}
18   mkdir -p ${pkgdir}/usr/bin/
19   mkdir -p ${pkgdir}/usr/share/applications/
20   cp ${srcdir}/${_pkgname}.jar ${pkgdir}/opt/${_pkgname}/${_pkgname}.jar
21   ln -s /usr/share/java/ ${pkgdir}/opt/${_pkgname}/lib
22   cp ${srcdir}/${_pkgname}.png ${pkgdir}/opt/${_pkgname}/${_pkgname}.png
23   cp ${srcdir}/${_pkgname} ${pkgdir}/usr/bin/
24   cp ${srcdir}/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
25   cp ${srcdir}/${_pkgname}_auto.desktop ~/.config/autostart/${_pkgname}.desktop