updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / lcs / PKGBUILD
blobe017b8738d1abb5b93e0ae32fac3ce78971e10e0
1 # $Id$
2 # Maintainer:  Eric BĂ©langer <eric@archlinux.org>
3 # Contributor: Smith Dhumbumroong <zodmaner@gmail.com>
5 pkgname=lcs
6 pkgver=4.04.0
7 pkgrel=1
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."
9 arch=('i686' 'x86_64')
10 url="http://sourceforge.net/projects/lcsgame/"
11 license=('GPL2')
12 depends=('ncurses')
13 makedepends=('autoconf')
14 install='install'
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')
18 build() {
19   cd "${srcdir}/lcs_${pkgver}_src"
20   chmod +x bootstrap
22   patch -p1 -i "${srcdir}/lcs-4.04.0-datafiles-locations.patch"
24   ./bootstrap
25   ./configure --prefix=/usr
26   make
29 package() {
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')