Skip to content

Instantly share code, notes, and snippets.

@ids1024 ids1024/PKGBUILD Secret
Created Aug 3, 2014

Embed
What would you like to do?
pkgname=naev-git
_pkgname=naev
pkgdesc="2d action/rpg space game similar to Escape Velocity, development branch"
pkgver=0.3.8.r8807.gbe73f70
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL')
url="http://naev.org/"
depends=('sdl_image' 'sdl_mixer' 'libxml2' 'freetype2' 'libpng' 'openal' 'libvorbis' 'binutils' 'libgl' 'libzip')
makedepends=('git')
provides=('naev' 'naev-data')
conflicts=('naev' 'naev-data')
source=('git://github.com/bobbens/naev.git')
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long | sed -r 's/^NAEV-//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd $srcdir/$_pkgname
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.