[ create a new paste ] login | about

Link: http://codepad.org/NBHjKuU1    [ raw code | fork ]

Plain Text, pasted on Feb 8:
# Contributor: Frederic Bezies <fredbezies*gmail>
# Maintainer: Ronan Rabouin <darkbaboon*gmail>

pkgname=yamagi-quake2
_pkgname=quake2
pkgver=5.10
pkgrel=1
pkgdesc="Quake 2 engine focused on single player and 64bits."
url="http://www.yamagi.org/quake2/"
license=('GPL')
depends=('libjpeg' 'sdl' 'libxxf86vm' 'libxxf86dga')
makedepends=('unzip')
conflicts=(quetoo quake2)
install="quake2.install"
arch=('i686' 'x86_64')
source=(http://deponie.yamagi.org/$_pkgname/$_pkgname-$pkgver.tar.xz $_pkgname.sh)
md5sums=('ccb7a5a9206cb95f1d927f4deee6d7be'
         'ea8d2c873f7891476a0b2a79b2ef19b3')

build() {
    cd $srcdir/$_pkgname-$pkgver

    make || return 1

    # Create Destination Directories
    install -d $pkgdir/usr/{bin,share/$_pkgname}

    # Install Game Base
    cd $srcdir/$_pkgname-$pkgver/release
    cp -R * $pkgdir/usr/share/$_pkgname

    # Install Game Launcher
    install -D -m 755 $srcdir/$_pkgname.sh $pkgdir/usr/bin/$_pkgname
}



Create a new paste based on this one


Comments: