updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / cleanwad / PKGBUILD
blob47ebd66ba527014497d7eb5da3842718ef7d9f38
1 # Contributor: rabyte <rabyte__gmail>
3 pkgname=cleanwad
4 pkgver=1.54
5 pkgrel=1
6 arch=('i686')
7 pkgdesc="An utility to clean Doom/Heretic/Hexen/Strife WAD files and sort directory entries by type"
8 url="http://www.martinsobservationpost.net/files.php"
9 license=('custom')
10 makedepends=('unzip')
11 source=(ftp://ftp.fu-berlin.de/pc/msdos/games/idgames/utils/wad_tools/clnwd154.zip \
12         LICENSE \
13         Makefile.diff)
14 md5sums=('a184a41c009c6f0c0ed16bbbba031069'
15          '4a7e47ecc72e45101d00ae321b112ca0'
16          '51c57127c9fb8437a79ce3e500199daa')
18 build() {
19   cd $srcdir
21   unzip -o sources.zip
22   cd linux
23   patch -Np0 -i $srcdir/Makefile.diff || return 1
25   make || return 1
27   install -m755 -D cleanwad.exe $pkgdir/usr/bin/cleanwad
28   install -m644 -D $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE