updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / jircii / PKGBUILD
blobaa741aa23444d28abaf36eccdb3e02bfb3bf2f9b
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Francesco Piccinno <stack.box@gmail.com>
4 pkgname=jircii
5 pkgver=b45
6 pkgrel=1
7 pkgdesc="A cross-platform IRC client written in Java"
8 arch=('any')
9 url="http://jircii.dashnine.org/"
10 license=('PerlArtistic')
11 depends=('java-runtime')
12 source=(http://jircii.dashnine.org/download/jerk${pkgver}.tgz \
13   icon_16x16.png \
14   icon_32x32.png \
15   icon_48x48.png \
16   jircii.desktop \
17   jircii.sh)
18 md5sums=('c41c0b4bf57e559cf7eb3d52497289e4'
19          '2d90ad2c322fa14316dd03133458ae69'
20          '9dfa60931f089206f2532537ad3c2ae2'
21          '6eeab1f174e11c227d08d05207c62e7c'
22          '8a217dd3defea958e6e9dc22d8038de2'
23          '4462cb0b7cf084353c3685bf49f65cf4')
25 build() {
26   cd $srcdir/jIRCii
27   # Install jar
28   install -Dm644 jerk.jar $pkgdir/usr/share/java/jircii/jerk.jar
29   # Install icons
30   install -Dm644 ../icon_16x16.png $pkgdir/usr/share/icons/hicolor/16x16/apps/jircii.png
31   install -Dm644 ../icon_32x32.png $pkgdir/usr/share/icons/hicolor/32x32/apps/jircii.png
32   install -Dm644 ../icon_48x48.png $pkgdir/usr/share/icons/hicolor/48x48/apps/jircii.png
33   # Install .desktop
34   install -Dm644 ../jircii.desktop $pkgdir/usr/share/applications/jircii.desktop
35   # Install script
36   install -Dm755 ../jircii.sh $pkgdir/usr/bin/jircii