updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / jdic / PKGBUILD
blobc0e9ce8cc0d3748c281fd9c9976b3d6ab31a1c4b
1 # Contributor: Jesus Lazaro Plaza <jesuslazaro84 at gmail dot com>
3 pkgname=jdic
4 pkgver=0.9.5
5 pkgrel=4
6 _deb_pkgrel=7
7 pkgdesc="JDesktop Integration Components. From debian package 'libjdic-bin'"
8 arch=('i686' 'x86_64')
9 url="https://jdic.dev.java.net/"
10 license=('custom')
11 depends=('cairo' 'libgnome' 'gtk2' 'nspr' 'libstdc++5' 'libx11' 'libxt')
12 makedepends=('unzip')
13 [ "$CARCH" = "x86_64" ] && _deb_arch=amd64
14 [ "$CARCH" = "i686" ] && _deb_arch=i386
15 source=(ftp://ftp.debian.org/debian/pool/main/libj/libjdic-java/libjdic-bin_${pkgver}-${_deb_pkgrel}_${_deb_arch}.deb)
16 [ "$CARCH" = "x86_64" ] && md5sums=('613e13faf978cbe7a63aa685e28f19ee')
17 [ "$CARCH" = "i686" ] && md5sums=('1be201b78ac69c992c49926ff7ad53f7')
19 build() {
20    cd ${srcdir}
21    ar x libjdic-bin_${pkgver}-${_deb_pkgrel}_${_deb_arch}.deb
22    tar xzf data.tar.gz -C ${pkgdir}
23    install -D -m644 ${pkgdir}/usr/share/doc/libjdic-bin/copyright ${pkgdir}/usr/share/licenses/jdic/copyright
24    rm -fR ${pkgdir}/usr/share/doc