[arch-commits] Commit in cataclysm-dda/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Sun Apr 26 21:17:41 UTC 2020
Date: Sunday, April 26, 2020 @ 21:17:40
Author: kkeen
Revision: 621677
archrelease: copy trunk to community-x86_64
Added:
cataclysm-dda/repos/community-x86_64/PKGBUILD
(from rev 621676, cataclysm-dda/trunk/PKGBUILD)
Deleted:
cataclysm-dda/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-26 21:17:02 UTC (rev 621676)
+++ PKGBUILD 2020-04-26 21:17:40 UTC (rev 621677)
@@ -1,75 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=cataclysm-dda
-pkgname=(cataclysm-dda cataclysm-dda-tiles)
-pkgname=cataclysm-dda
-pkgver=0.D
-pkgrel=1
-pkgdesc="A post-apocalyptic roguelike."
-#url="http://cataclysmrl.blogspot.com/"
-#url="http://www.cataclysm.glyphgryph.com/"
-#url="http://en.cataclysmdda.com/"
-url="https://cataclysmdda.org/"
-arch=('x86_64')
-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=('720cf97844bf77ca428c6a4d0b1afa34')
-
-# official docs say to use lua51
-# but makefile supports lua52?
-# lua53 works, but git HEAD detects/uses lua51?
-
-prepare() {
- 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}
- sed -i 's/shell git/shell false/' Makefile
-}
-
-build() {
- cd "Cataclysm-DDA-$pkgver"
-
- # tests "ifdef TILES" so "TILES=0" will enable tiles!
- # DYNAMIC_LINKING appears to be a windows flag?
- make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 BACKTRACE=0 ZLEVELS=1 LUA=1
- make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 BACKTRACE=0 ZLEVELS=1 LUA=1 TILES=1 SOUND=1
- #LUA_BINARY="/usr/bin/lua5.1"
-}
-
-package_cataclysm-dda() {
- cd "Cataclysm-DDA-$pkgver"
-
- make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 USE_HOME_DIR=1 LUA=1 install
-
- # Docs
- install -d "$pkgdir/usr/share/doc/cataclysm-dda"
- cp -r doc/* "$pkgdir/usr/share/doc/cataclysm-dda"
- # undo symlink
- rm "$pkgdir/usr/share/doc/cataclysm-dda/JSON_LOADING_ORDER.md"
- cp 'data/json/LOADING_ORDER.md' "$pkgdir/usr/share/doc/cataclysm-dda/JSON_LOADING_ORDER.md"
-
- # License
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_cataclysm-dda-tiles() {
- pkgdesc="A graphical post-apocalyptic roguelike."
- depends=('cataclysm-dda' 'sdl2_image' 'sdl2_ttf' 'freetype2' 'sdl2_mixer')
- cd "Cataclysm-DDA-$pkgver"
-
- make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 LUA=1 TILES=1 SOUND=1 install
-
- # Icon
- install -D 'data/osx/AppIcon.iconset/icon_128x128.png' "$pkgdir/usr/share/icons/hicolor/128x128/apps/cataclysm-dda.png"
-
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # hack: remove overlapping files
- cd "$pkgdir/../cataclysm-dda"
- find . -type f -exec rm -f "$pkgdir"/{} \;
- cd "$pkgdir"
- find . -type d -empty -delete
-}
Copied: cataclysm-dda/repos/community-x86_64/PKGBUILD (from rev 621676, cataclysm-dda/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-26 21:17:40 UTC (rev 621677)
@@ -0,0 +1,75 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=cataclysm-dda
+pkgname=(cataclysm-dda cataclysm-dda-tiles)
+pkgname=cataclysm-dda
+pkgver=0.E
+pkgrel=1
+pkgdesc="A post-apocalyptic roguelike."
+#url="http://cataclysmrl.blogspot.com/"
+#url="http://www.cataclysm.glyphgryph.com/"
+#url="http://en.cataclysmdda.com/"
+url="https://cataclysmdda.org/"
+arch=('x86_64')
+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')
+
+# official docs say to use lua51
+# but makefile supports lua52?
+# lua53 works, but git HEAD detects/uses lua51?
+
+prepare() {
+ 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}
+ sed -i 's/shell git/shell false/' Makefile
+}
+
+build() {
+ cd "Cataclysm-DDA-$pkgver"
+
+ # tests "ifdef TILES" so "TILES=0" will enable tiles!
+ # DYNAMIC_LINKING appears to be a windows flag?
+ make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 BACKTRACE=0 ZLEVELS=1 LUA=1
+ make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 BACKTRACE=0 ZLEVELS=1 LUA=1 TILES=1 SOUND=1
+ #LUA_BINARY="/usr/bin/lua5.1"
+}
+
+package_cataclysm-dda() {
+ cd "Cataclysm-DDA-$pkgver"
+
+ make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 USE_HOME_DIR=1 LUA=1 install
+
+ # Docs
+ install -d "$pkgdir/usr/share/doc/cataclysm-dda"
+ cp -r doc/* "$pkgdir/usr/share/doc/cataclysm-dda"
+ # undo symlink
+ rm "$pkgdir/usr/share/doc/cataclysm-dda/JSON_LOADING_ORDER.md"
+ cp 'data/json/LOADING_ORDER.md' "$pkgdir/usr/share/doc/cataclysm-dda/JSON_LOADING_ORDER.md"
+
+ # License
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_cataclysm-dda-tiles() {
+ pkgdesc="A graphical post-apocalyptic roguelike."
+ depends=('cataclysm-dda' 'sdl2_image' 'sdl2_ttf' 'freetype2' 'sdl2_mixer')
+ cd "Cataclysm-DDA-$pkgver"
+
+ make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 LUA=1 TILES=1 SOUND=1 install
+
+ # Icon
+ install -D 'data/osx/AppIcon.iconset/icon_128x128.png' "$pkgdir/usr/share/icons/hicolor/128x128/apps/cataclysm-dda.png"
+
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # hack: remove overlapping files
+ cd "$pkgdir/../cataclysm-dda"
+ find . -type f -exec rm -f "$pkgdir"/{} \;
+ cd "$pkgdir"
+ find . -type d -empty -delete
+}
More information about the arch-commits
mailing list