[arch-commits] Commit in naev/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 21:30:08 UTC 2020
Date: Tuesday, July 7, 2020 @ 21:30:07
Author: felixonmars
Revision: 660439
archrelease: copy trunk to community-staging-x86_64
Added:
naev/repos/community-staging-x86_64/
naev/repos/community-staging-x86_64/PKGBUILD
(from rev 660438, naev/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: naev/repos/community-staging-x86_64/PKGBUILD (from rev 660438, naev/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 21:30:07 UTC (rev 660439)
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Johan Rehnberg <cleanrock at gmail.com>
+
+pkgname=naev
+pkgver=0.7.0
+pkgrel=3
+pkgdesc='2D action/rpg space game'
+arch=('x86_64')
+url="http://sourceforge.net/projects/naev/"
+license=('GPL3')
+depends=('glu' 'openal' 'libvorbis' 'sdl2' 'sdl2_image' 'sdl2_mixer' 'libgl' 'libxml2' 'freetype2' 'libpng' 'libzip' 'luajit')
+makedepends=('freeglut' 'zip')
+source=("https://github.com/naev/naev/archive/naev-${pkgver}.tar.gz")
+md5sums=('c07e24c2e87d08fdb73e666fb4e59981')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgname-$pkgver"
+
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+ ./autogen.sh
+ ./configure --prefix=/usr --disable-debug --disable-shave --with-ndata-path=/usr/share/naev/ndata
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
More information about the arch-commits
mailing list