updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / chextrek / PKGBUILD
blob1f84cff9b864629acda15b97aa5faf05044fe44d
1 # Contributor: Travis Nickles <ryoohki7@yahoo.com>
3 pkgname=chextrek
4 pkgver=0.5
5 pkgrel=1
6 pkgdesc="Chex Quest-inspired mod for Doom 3"
7 url="http://xv15mods.com/hosted/chextrek/portal.php"
8 depends=('doom3')
9 makedepends=('unzip')
10 source=(http://www.doomwadstation.com/doom3tc/chextrekbeta_$pkgver.zip $pkgname.desktop \
11 $pkgname.sh)
12 md5sums=('a7af4c72f60911bfd2efac51afa8b569' '5fce07a075965f4b15153163480e16f1'\
13                  '247e9cbbcfd4c5310dad4abec7c56bf9')
15 build() {
16    cd $startdir/src
17    mv chextrekbeta_$pkgver $pkgname
18    install -m 755 $pkgname.sh $pkgname/$pkgname
19    
20    mkdir -p $startdir/pkg/opt/doom3 $startdir/pkg/usr/bin
21    cp -r $pkgname $startdir/pkg/opt/doom3
22    install -D -m 644 $pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop
23    ln -sf /opt/doom3/$pkgname/$pkgname $startdir/pkg/usr/bin/$pkgname