[arch-commits] Commit in naev/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Dec 18 01:08:51 UTC 2020
Date: Friday, December 18, 2020 @ 01:08:51
Author: svenstaro
Revision: 778385
archrelease: copy trunk to community-x86_64
Added:
naev/repos/community-x86_64/PKGBUILD
(from rev 778384, naev/trunk/PKGBUILD)
Deleted:
naev/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++------------------------------
1 file changed, 28 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-18 01:08:43 UTC (rev 778384)
+++ PKGBUILD 2020-12-18 01:08:51 UTC (rev 778385)
@@ -1,30 +0,0 @@
-# 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
-}
Copied: naev/repos/community-x86_64/PKGBUILD (from rev 778384, naev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-18 01:08:51 UTC (rev 778385)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Johan Rehnberg <cleanrock at gmail.com>
+
+pkgname=naev
+pkgver=0.8.0
+pkgrel=1
+pkgdesc='2D action/rpg space game'
+arch=('x86_64')
+url="https://github.com/naev/naev"
+license=('GPL3')
+depends=('glu' 'openal' 'libvorbis' 'sdl2' 'sdl2_image' 'sdl2_mixer' 'libgl' 'libxml2' 'freetype2' 'libpng' 'libzip' 'luajit')
+makedepends=('freeglut' 'zip' 'meson' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/naev/naev/archive/v${pkgver}.tar.gz")
+sha512sums=('3b4544d1f916e1426775c0229a6e294a80d2b8de0657d761b911ddd43070d51e5986ca0f5f37731b65479de2fee484db0f893f8599947e0ebb5e58e817514bb0')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ meson setup -Dprefix=/usr -Dndata_path=/usr/share/naev/ndata build .
+ cd build
+ meson compile
+}
+
+package() {
+ cd "$pkgname-$pkgver/build"
+
+ DESTDIR="$pkgdir" meson install
+}
More information about the arch-commits
mailing list