1 # Maintainer: Jozef Riha <jose1711 at gmail dot com>
8 pkgdesc="the Gtk OpenStreetMap Tool"
9 url="http://sourceforge.net/projects/gosm"
10 arch=('i686' 'x86_64')
12 depends=('libwebkit' 'libsvg-cairo' 'curl')
13 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}.0.0.9.tar.gz" "gosm.desktop")
15 md5sums=('0401cf7022ec86b109bf5faa9291cb38'
16 '585f1b5c37496815d7d7c1edc69ec2cb')
19 mkdir -p ${pkgdir}/usr
21 sed -i '/^CFLAGS/s/BUILD=0/BUILD=1/' Makefile
22 sed -i -e 's/dpkg-deb/echo dpkg-deb/' -e 's/rm -rf packages/echo /' Makefile
23 sed -i 's/png_infopp_NULL/NULL/' imageglue/imageglue.c
29 cd $srcdir/${pkgname}/packages/deb/usr
30 /bin/tar cf - * | ( cd ../../../../../pkg/usr/; tar xfp - )
31 install -D -m644 $srcdir/gosm.desktop $pkgdir/usr/share/applications/gosm.desktop || return 1