updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / umodpack / PKGBUILD
blobe56f231b37de2691bc46f185fcce9e9c8ecc1b36
1 # Contributor: quantax -- contact via Arch Linux forum or AUR
2 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
4 pkgname=umodpack
5 pkgver=0.5b16
6 pkgrel=1
7 pkgdesc="Tool to work with Unreal Tournament umod files."
8 arch=(any)
9 # official homepage (http://umodpack.sourceforge.net) seems to have vanished.
10 url="http://gentoo-portage.com/games-util/umodpack"
11 license=('PerlArtistic')
12 depends=('perl>=5.10.0' perl-archive-zip perl-compress-zlib perl-tie-ixhash)
13 optdepends=('perl-tk: GUI support.')
14 source=(http://gentoo.cites.uiuc.edu/pub/gentoo/distfiles/$pkgname-$pkgver-allinone.tar.gz)
15 md5sums=('c8cea5588db49cb6218c0578b051ab11')
17 build() {
18     cd "$srcdir/$pkgname-$pkgver"
19     rm -rf {Archive-Zip,Compress-Zlib,Tie-IxHash,Tk}*
21     perl Makefile.PL INSTALLDIRS=vendor || return 1
22     make || return 1
23     make install DESTDIR="$pkgdir/" || return 1