1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
7 pkgdesc="A tool to simplify geocaching"
9 url="http://geotoad.googlecode.com/"
12 source=(http://geotoad.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 sha256sums=('9cf2a7b442072ad43cd2aca1c555578e767a49b978138582e431366326e6104f')
16 cd ${srcdir}/${pkgname}-${pkgver}
18 install -d ${pkgdir}/usr/{bin,share/${pkgname}}
19 cp -R * ${pkgdir}/usr/share/${pkgname}
21 echo -e "#!/bin/bash\n\n/usr/share/${pkgname}/geotoad.rb" > ${pkgdir}/usr/bin/${pkgname}
22 chmod 755 ${pkgdir}/usr/bin/${pkgname}
25 install -D -m644 COPYRIGHT.txt ${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT.txt
26 install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
28 #removing Debian specific files
29 rm -rf ${pkgdir}/usr/share/$pkgname/debian