[arch-commits] Commit in minetest/trunk (PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Mon Sep 7 15:18:39 UTC 2015


    Date: Monday, September 7, 2015 @ 17:18:38
  Author: lcarlier
Revision: 139496

upgpkg: minetest 0.4.13-1

upstream update 0.4.13, now built with clang (FS#46176)

Modified:
  minetest/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-07 14:25:43 UTC (rev 139495)
+++ PKGBUILD	2015-09-07 15:18:38 UTC (rev 139496)
@@ -3,18 +3,18 @@
 # Contributor: Konsta Kokkinen <kray at tsundere.fi>
 
 pkgname=('minetest' 'minetest-server' 'minetest-common')
-pkgver=0.4.12
-pkgrel=2
+pkgver=0.4.13
+pkgrel=1
 arch=('i686' 'x86_64')
 url='http://minetest.net/'
 license=('GPL')
 makedepends=('sqlite' 'freetype2' 'leveldb' 'openal' 'libvorbis' 'curl' 'irrlicht'
-             'hicolor-icon-theme' 'cmake' 'hiredis')
+             'hicolor-icon-theme' 'cmake' 'hiredis' 'clang')
 source=($pkgname-$pkgver.tar.gz::https://github.com/minetest/minetest/archive/$pkgver.tar.gz
         $pkgname-data-$pkgver.tar.gz::https://github.com/minetest/minetest_game/archive/$pkgver.tar.gz
         minetest at .service)
-md5sums=('67d383346ffa08819d062a65614291d6'
-         '3fb2f7c3ec549a38f6458d2269075071'
+md5sums=('e3385b55faeb1164ac5349dd9b21b461'
+         'cc02e8844bbfbd14a3545a202ef38772'
          'ec193b09eb85f2518aaa17506ad06c57')
 
 prepare() {
@@ -29,7 +29,9 @@
     -DENABLE_GETTEXT=1 \
     -DENABLE_FREETYPE=1 \
     -DENABLE_LEVELDB=0 \
-    -DENABLE_REDIS=0
+    -DENABLE_REDIS=0 \
+    -DCMAKE_C_COMPILER=clang \
+    -DCMAKE_CXX_COMPILER=clang++
   make
 
   cd "$srcdir"/build-server
@@ -37,7 +39,9 @@
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DBUILD_CLIENT=0 \
     -DENABLE_LEVELDB=1 \
-    -DENABLE_REDIS=1
+    -DENABLE_REDIS=1 \
+    -DCMAKE_C_COMPILER=clang \
+    -DCMAKE_CXX_COMPILER=clang++
   make
 }
 



More information about the arch-commits mailing list