1 # Contributor: Stéphane Gaudreault <stephane.gaudreault@gmail.com>
5 pkgdesc="User-friendly Desktop Internet GIS"
7 [ "$CARCH" = "i686" ] && ARCH=x86
8 [ "$CARCH" = "x86_64" ] && ARCH=x86_64
9 url="http://udig.refractions.net"
11 source=(http://udig.refractions.net/files/downloads/${pkgname}-${pkgver}-linux.gtk.${ARCH}.zip)
12 md5sums=('d782000288ccc362de35234b63b0348a')
13 [ "$CARCH" = "x86_64" ] && md5sums=('f91894bf4414aa83e61134e858021862')
18 mkdir -p $startdir/pkg/opt $startdir/pkg/usr/bin
19 cp -ar ${startdir}/src/${pkgname} $startdir/pkg/opt/${pkgname}
20 rm -f $startdir/pkg/opt/${pkgname}/udig
21 install -m 755 $startdir/udig $startdir/pkg/usr/bin