You are not logged in.
Ive made PKGBUILD for CorsixTH game - opensource reimplementation of famous Theme Hospital game. Unfortunately i didnt managed to make package installation in it work. Here is my pkgbuild:
# Mantainer: Michał "Dinth" Gawroński <dinth1906@gmail.com>
pkgname=corsixth-svn
pkgver=633
pkgrel=1
pkgdesc="Opensource remake of famouse Theme Hospital game"
arch=(i686 x86_64)
url="http://code.google.com/p/corsix-th/"
license=('LGPL')
depends=('sdl' 'sdl_mixer' 'lua')
makedepends=('subversion' 'cmake' 'timidity++')
provides=('corsixth')
conflicts=('corsixth')
source=()
md5sums=()
_svntrunk="http://corsix-th.googlecode.com/svn/trunk/"
_svnmod="corsix-th-read-only"
build() {
cd ${srcdir}
if [[ -d ${_svnmod}/.svn ]]; then
(cd ${_svnmod} && svn up -r $pkgver)
else
svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
fi
msg "SVN checkout done or server timeout"
msg "Compiling..."
cd corsix-th-read-only
cmake . || return 1
cd CorsixTH
make || return 1
make install || return 1
}
Could somebody help me with this ?
Last edited by Dinth (2010-04-09 09:00:28)
Offline
Apparently you looked at another SVN PKGBUILD or two to work out the _svn* variables. Did you not also see
make DESTDIR="$pkgdir" install
in the same place - or something similar, to direct the install commands to your package root, and not your system root?
If you're still unclear, install abs and have a look at /usr/share/pacman/PKGBUILD-svn.proto.
Offline
thanks a lot. I forgot about DESTDIR <lol>
Offline
This is pretty cool. Have to find my original theme hospital disc!!
Offline