updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / digger / PKGBUILD
blobbc94d42ae1bcb63943a9a8e5486933f6674b6706
1 # Maintainer: chris_L <chrislcenter dash mamoru at yahoo.com dot mx>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
4 pkgname=digger
5 pkgver=20020314
6 pkgrel=6
7 pkgdesc="the digger game, cloned and remastered with additional features"
8 arch=('i686' 'x86_64')
9 url="http://www.digger.org"
10 license=('GPL')
11 depends=('sdl' 'zlib')
12 source=('http://www.digger.org/digger-20020314.tar.gz' \
13         'digger.png.b64' \
14         digger.desktop)
15 md5sums=('a16e90a49ed8ea90099b254d3ef5edfa'
16          'ce553dd2ca1df52e57add735f0be8b47'
17          '9e16df2bc4a780bcacff14bf09ef1f21')
19 build() {
20         cd ${srcdir}/${pkgname}-${pkgver}
21         
22         make -f Makefile.sdl
23         install -D digger ${pkgdir}/usr/bin/digger
25         # install .desktop file
26         mkdir -p ${pkgdir}/usr/share/{icons,applications}
27         base64 -d ${srcdir}/digger.png.b64 >${pkgdir}/usr/share/icons/digger.png
28         mv ${srcdir}/digger.desktop ${pkgdir}/usr/share/applications