
Untitled
By: a guest on
Dec 28th, 2010 | syntax:
Bash | size: 1.35 KB | hits: 121 | expires: Never
# Contributor: Wesley <rudirennsau_at_hotmail_dot_com>
pkgname=doomseeker
pkgver=0.7b
pkgrel=1
pkgdesc="Multiplayer Lobby for Doom ports (ZDaemon, Vavoom, Skulltag and Odamex)"
arch=('i686' 'x86_64')
url="http://skulltag.net/doomseeker"
conflicts=('doomseeker-svn')
depends=('qt' 'zlib')
makedepends=('cmake')
license=('GPL')
source=(http://skulltag.net/download/files/$pkgname/$pkgname-$pkgver\_src.tar.bz2 doomseeker.sh doomseeker.desktop)
md5sums=('f46d2834938ce2d66b0078c8dcecfc34' 'd03909d5d98e31cae480a3dd598a17ef' '766935dee723eee0ef17fef55448a6e9')
build() {
cd $startdir/src/$pkgname-2010_src/
cmake .
make || return 1
}
package() {
mkdir -p $startdir/pkg/opt/doomseeker
cp $startdir/src/$pkgname-2010_src/doomseeker $startdir/pkg/opt/doomseeker/
cp $startdir/src/$pkgname-2010_src/libwadseeker.so $startdir/pkg/opt/doomseeker/
cp -r $startdir/src/$pkgname-2010_src/media $startdir/pkg/opt/doomseeker/
cp -r $startdir/src/$pkgname-2010_src/engines $startdir/pkg/opt/doomseeker/
mkdir -p $startdir/pkg/usr/share/{applications,pixmaps}
install -D -m644 $startdir/src/$pkgname-2010_src/media/icon.png $startdir/pkg/usr/share/pixmaps/doomseeker.png
install -D -m644 $startdir/doomseeker.desktop $startdir/pkg/usr/share/applications/doomseeker.desktop
install -D -m755 $startdir/doomseeker.sh $startdir/pkg/usr/bin/doomseeker
}