-
-
Save ids1024/d93da6c60df680e31411 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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