You are not logged in.

#1 2017-05-31 20:00:15

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

[Request] Lincity - A City Simulation Game

In the AUR and in Community repo there is Lincity-NG, with a really close looks similar to Simcity 2000, but i really like to play the previous version, more like simcity 1.

Description: Lincity is a city simulation game for SVGALIB, X Windows and Microsoft Windows.
Homepage: http://lincity.sourceforge.net/
Source: http://www.ibiblio.org/pub/Linux/games/ … 2.0.tar.gz


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2017-05-31 20:35:26

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Request] Lincity - A City Simulation Game

latest (from 2004 ...) source version is at https://sourceforge.net/projects/lincit … ce/1.12.1/  .

A quick configure make gives all kind of undefined references .
I searched for one, found it was removed from X in 2009 .

Good luck


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-05-31 20:52:00

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [Request] Lincity - A City Simulation Game

lol, so i think i would be better with the win32 build in a vm or something like that... sad.

Thank you!


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#4 2017-06-01 05:18:30

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: [Request] Lincity - A City Simulation Game

what about micropolis-java?

It look closer and build againt java which is more modern... there was an old micropolis in gtk but I it was lost with aur4 migration


Well, I suppose that this is somekind of signature, no?

Offline

#5 2017-06-02 11:54:24

metak
Member
Registered: 2009-09-27
Posts: 198

Re: [Request] Lincity - A City Simulation Game

Okay, I made a quick pkgbuild which uses debian patches. If anyone wants to maintain it in aur feel free to do so.

pkgname=lincity
pkgver=1.13.1
pkgrel=1
pkgdesc="A free construction and management simulation game"
arch=('i686' 'x86_64')
url="http://lincity.sourceforge.net/"
license=('GPL2')
depends=('libice' 'libpng' 'libsm' 'libx11' 'libxext')
options=(!emptydirs)
source=("http://http.debian.net/debian/pool/main/l/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"
        "http://http.debian.net/debian/pool/main/l/$pkgname/${pkgname}_${pkgver}-13.debian.tar.xz")
sha256sums=('7b4cbd11ffd4cbed79a0aadb25f2b1c34e25a8201182fbb259ce2f450fe5015d'
            '618faf140325c03715ae2c29d040a24381693475a54e7bc9b6a18c4d9870170b')

prepare() {
  cd "$pkgname-$pkgver"
  for i in $(grep -v '#' $srcdir/debian/patches/series); do
    msg "Applying ${i}"
    patch -p1 -i "$srcdir/debian/patches/${i}"
  done
}

build() {
  cd "${pkgname}-${pkgver}"
  autoreconf -fi
  ./configure \
    --prefix=/usr \
    --bindir=/usr/bin \
    --mandir=/usr/share/man \
    --with-gzip \
    --with-x- \
    --without-svga \
    --disable-rpath
  make V=1
}

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm755 xlincity "$pkgdir/usr/bin/xlincity"
  ln -sf /usr/bin/xlincity "$pkgdir/usr/bin/lincity"
  ln -sf /usr/share/man/man6/lincity.6.gz "$pkgdir/usr/share/man/man6/xlincity.6.gz"
  install -Dm644 ../debian/lincity.xpm "$pkgdir/usr/share/pixmaps/lincity.xpm"
  install -Dm644 ../debian/lincity.desktop "$pkgdir/usr/share/applications/lincity.desktop"
  sed -i 's|usr/games|usr/bin|' "$pkgdir/usr/share/applications/lincity.desktop"
}

Offline

Board footer

Powered by FluxBB