1 # Maintainer: Serge Ziryukin <ftrvxmtrx@gmail.com>
6 pkgdesc="A tool to create .wal textures for Quake2"
8 url="http://gamers.org/pub/idgames2/planetquake/ikq/"
9 license=('public domain')
11 source=(http://www.gamers.org/pub/idgames2/planetquake/ikq/pcx2w23.zip)
12 md5sums=('0489e142618bb1f7bf71b19f03b459e6')
19 rm -rf $_subdir && mkdir -p $_subdir
21 for f in LINUX/*.C; do
22 cp $f `echo $f | tr [:upper:] [:lower:]`
25 sed 's/^CFLAGS/#CFLAGS/g' LINUX/MAKEFILE > $_subdir/Makefile
33 dest="$pkgdir/usr/bin"
35 install 16to8 colormap pcx2pal pcx2wal "$dest/"
37 dest="$pkgdir/usr/share/pcx2wal"
38 install -D ../COLORMAP.PCX "$dest/colormap.pcx"
39 install -D ../PALETTE.PAL "$dest/palette.pal"
40 install -D ../16TO8.DAT "$dest/16to8.dat"