2 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 # Contributor: Smith Dhumbumroong <zodmaner@gmail.com>
8 pkgdesc="Liberal Crime Squad: A satirical console-based political role-playing/strategy game in which you recruit a team of Elite Liberal radicals and try to save the United States from a descent into Arch-Conservatism."
10 url="http://sourceforge.net/projects/lcsgame/"
13 makedepends=('autoconf')
15 source=('http://downloads.sourceforge.net/project/lcsgame/Liberal%20Crime%20Squad/4.04/lcs_4.04.0_src.zip'
16 'lcs-4.04.0-datafiles-locations.patch')
19 cd "${srcdir}/lcs_${pkgver}_src"
22 patch -p1 -i "${srcdir}/lcs-4.04.0-datafiles-locations.patch"
25 ./configure --prefix=/usr
30 cd "${srcdir}/lcs_${pkgver}_src"
32 mkdir -p "${pkgdir}/usr/share/lcs"
33 cp -R art "${pkgdir}/usr/share/lcs/"
34 chmod 644 "${pkgdir}/usr/share/lcs/art/"*
36 install -D -m 755 "${srcdir}/lcs_${pkgver}_src/src/crimesquad" "${pkgdir}/usr/bin/crimesquad"
39 sha256sums=('a9d861e7207c53fdeef1d8d4220056574e2f47f262caa8e06ea8d5a3c407de02'
40 '653a4e7b652c59d1661cd57d9dc8bc1bdc61f9c2d780c53cab220280aac7393a')