blob: c090c3b42d4d5ee48865ca11e99decb76dfdad22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Lari Tikkanen <lartza@wippies.com>
# Contributor: erm67
pkgname=micropolis-git
_pkgname=micropolis
pkgver=r97.cc31822
pkgrel=1
pkgdesc="Micropolis Unix version (A.K.A. "S*mC*ty")"
arch=('i686' 'x86_64')
url="https://github.com/simhacker/micropolis"
license=('GPL')
depends=('sdl_mixer' 'libxpm' 'bash' 'inetutils')
makedepends=('git')
options=(!makeflags)
source=("$_pkgname::git://git.zerfleddert.de/micropolis")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
sed -i -e 's|export SIMHOME=`pwd`|export SIMHOME="/usr/lib/micropolis"|' Micropolis
make PREFIX="/usr" DESTDIR="$pkgdir" LIBEXECDIR="/usr/lib/micropolis" install
}
|