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

Kyle Keen kkeen at archlinux.org
Sun May 31 01:42:24 UTC 2020


    Date: Sunday, May 31, 2020 @ 01:42:24
  Author: kkeen
Revision: 637557

upgpkg: cataclysm-dda 0.E.2-1

Modified:
  cataclysm-dda/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-30 23:40:21 UTC (rev 637556)
+++ PKGBUILD	2020-05-31 01:42:24 UTC (rev 637557)
@@ -3,7 +3,8 @@
 pkgbase=cataclysm-dda
 pkgname=(cataclysm-dda cataclysm-dda-tiles)
 pkgname=cataclysm-dda
-pkgver=0.E
+pkgver=0.E.2
+_pkgver=0.E-2
 pkgrel=1
 pkgdesc="A post-apocalyptic roguelike."
 #url="http://cataclysmrl.blogspot.com/"
@@ -14,8 +15,8 @@
 license=("CCPL:by-sa")
 depends=('ncurses' 'lua' 'hicolor-icon-theme' 'gettext')
 makedepends=('sdl2_image' 'sdl2_ttf' 'sdl2_mixer' 'freetype2' 'astyle')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/CleverRaven/Cataclysm-DDA/archive/$pkgver.tar.gz")
-md5sums=('71ed1da04cc900008e7ead62edca69b5')
+source=("$pkgname-$_pkgver.tar.gz::https://github.com/CleverRaven/Cataclysm-DDA/archive/$_pkgver.tar.gz")
+md5sums=('599ee37f0cf1f13f76ac414a0b1bfcdf')
 
 # official docs say to use lua51
 # but makefile supports lua52?
@@ -22,7 +23,7 @@
 # lua53 works, but git HEAD detects/uses lua51?
 
 prepare() {
-  cd "Cataclysm-DDA-$pkgver"
+  cd "Cataclysm-DDA-$_pkgver"
   sed -i 's/-Werror//' Makefile
   sed -i 's/ncursesw5-config/ncursesw6-config/' Makefile
   #sed -i 's|"\(l.*h\)"|"lua5.1/\1"|' src/catalua.{h,cpp}
@@ -30,7 +31,7 @@
 }
 
 build() {
-  cd "Cataclysm-DDA-$pkgver"
+  cd "Cataclysm-DDA-$_pkgver"
 
   # tests "ifdef TILES" so "TILES=0" will enable tiles!
   # DYNAMIC_LINKING appears to be a windows flag?
@@ -40,7 +41,7 @@
 }
 
 package_cataclysm-dda() {
-  cd "Cataclysm-DDA-$pkgver"
+  cd "Cataclysm-DDA-$_pkgver"
 
   make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 USE_HOME_DIR=1 LUA=1 install
 
@@ -58,7 +59,7 @@
 package_cataclysm-dda-tiles() {
   pkgdesc="A graphical post-apocalyptic roguelike."
   depends=('cataclysm-dda' 'sdl2_image' 'sdl2_ttf' 'freetype2' 'sdl2_mixer')
-  cd "Cataclysm-DDA-$pkgver"
+  cd "Cataclysm-DDA-$_pkgver"
 
   make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 LUA=1 TILES=1 SOUND=1 install
 


More information about the arch-commits mailing list