updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / ketm / PKGBUILD
blob61cb5b3863296c76fc1b1b5bc114d47335a393d6
1 #Maintainer: andy123 < ajs AT online DOT de >
3 pkgname=ketm
4 pkgdesc="kill everything that moves"
5 pkgver=0.0.6
6 pkgrel=2
7 license=("GPL")
8 url=("http://ketm-gg.sf.net")
9 depends=(sdl)
10 arch=('i686' 'x86_64')
11 source=("ftp://ftp.debian.org/debian/pool/main/k/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
12         "ftp://ftp.debian.org/debian/pool/main/k/${pkgname}/${pkgname}_${pkgver}-22.diff.gz")
13 md5sums=('815dd1ec3d3e34ed563c2e8b846c1873'
14          'fde53edb48e22cf4989921f904b180bf')
16 build(){
17         cd ${srcdir}/
18         patch -p0 -i ${pkgname}_${pkgver}-22.diff
19         cd ${pkgname}-${pkgver}/
20         for patch in ./debian/patches/*diff; do 
21                 count=1
22                 patch -p$count -i $patch
23                 count=count+1
24         done
25         sh configure --prefix=/usr --with-x --disable-sdltest
26         make
29 package(){
30         cd ${srcdir}/${pkgname}-${pkgver}/
31         make DESTDIR=${pkgdir} install
32         mkdir -p ${pkgdir}/usr/share/applications/
33         mkdir -p ${pkgdir}/usr/share/icons/
34         cp ${srcdir}/${pkgname}-${pkgver}/debian/${pkgname}.desktop ${pkgdir}/usr/share/applications/
35         cp ${srcdir}/${pkgname}-${pkgver}/debian/${pkgname}.xpm ${pkgdir}/usr/share/icons/