summaryrefslogtreecommitdiff
path: root/community-testing/lincity-ng/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-01 00:41:47 +0000
committerroot <root@rshg054.dnsready.net>2012-09-01 00:41:47 +0000
commite5a77fe6a2fd0e3eb7d877c942959b53fdff2a0c (patch)
treec4e25ae90be49a84f8a9eae41d11ad3f35dad12d /community-testing/lincity-ng/PKGBUILD
parent68cdc08aec92abf91448a542e06fabbedbb583bf (diff)
Sat Sep 1 00:41:47 UTC 2012
Diffstat (limited to 'community-testing/lincity-ng/PKGBUILD')
-rw-r--r--community-testing/lincity-ng/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community-testing/lincity-ng/PKGBUILD b/community-testing/lincity-ng/PKGBUILD
new file mode 100644
index 000000000..8f6d046ef
--- /dev/null
+++ b/community-testing/lincity-ng/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 75765 2012-08-30 21:20:22Z lcarlier $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=lincity-ng
+pkgver=2.0
+pkgrel=5.1
+pkgdesc="A city simulation game"
+arch=('i686' 'x86_64')
+url="https://fedorahosted.org/LinCity-NG"
+license=('GPL' 'custom')
+depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'physfs' 'libxml2' 'sdl_gfx' 'gcc-libs' 'libgl')
+makedepends=('ftjam' 'mesa')
+source=(http://sourceforge.net/projects/${pkgname}.berlios/files/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('2961a3f60f7481b33858d7d5ef7cf9c788d01077')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ jam
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ jam -sprefix="${pkgdir}/usr" install
+ install -D -m644 COPYING-data.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING-data.txt"
+ install -D -m644 COPYING-fonts.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING-fonts.txt"
+}