[arch-commits] Commit in cataclysm-dda/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at gemini.archlinux.org
Fri Sep 10 10:12:56 UTC 2021
Date: Friday, September 10, 2021 @ 10:12:56
Author: kkeen
Revision: 1013373
archrelease: copy trunk to community-x86_64
Added:
cataclysm-dda/repos/community-x86_64/PKGBUILD
(from rev 1013372, cataclysm-dda/trunk/PKGBUILD)
Deleted:
cataclysm-dda/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 164 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 82 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-10 10:12:38 UTC (rev 1013372)
+++ PKGBUILD 2021-09-10 10:12:56 UTC (rev 1013373)
@@ -1,82 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=cataclysm-dda
-pkgname=(cataclysm-dda cataclysm-dda-tiles)
-pkgname=cataclysm-dda
-pkgver=0.F.1
-_pkgver=0.F-1
-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' '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=('8f8a7e72cde11757325820f8ddc94c90')
-
-prepare() {
- cd "Cataclysm-DDA-$_pkgver"
- sed -i 's/-Werror//' Makefile
- sed -i 's/ncursesw5-config/ncursesw6-config/' Makefile
- 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 RUNTESTS=0 ZLEVELS=1 LTO=1 LOCALIZE=1 LANGUAGES=all
- make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 BACKTRACE=0 RUNTESTS=0 ZLEVELS=1 LTO=1 LOCALIZE=1 LANGUAGES=all TILES=1 SOUND=1
- ./lang/compile_mo.sh
-}
-
-package_cataclysm-dda() {
- cd "Cataclysm-DDA-$_pkgver"
-
- make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 USE_HOME_DIR=1 LTO=1 LOCALIZE=1 LANGUAGES=all 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"
-
- # Languages
- cd lang/mo
- for i in *; do
- install -d "${pkgdir}/usr/share/locale/${i}/LC_MESSAGES"
- cp "${i}/LC_MESSAGES/cataclysm-dda.mo" "${pkgdir}/usr/share/locale/${i}/LC_MESSAGES"
- done
-
- # Help
- cd ./../..
- cp -r --no-preserve=ownership "./data/help" "${pkgdir}/usr/share/${pkgname}/"
-}
-
-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 TILES=1 SOUND=1 LTO=1 LOCALIZE=1 LANGUAGES=all install
-
- # Icon
- install -D 'build-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 1013372, cataclysm-dda/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-10 10:12:56 UTC (rev 1013373)
@@ -0,0 +1,82 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=cataclysm-dda
+pkgname=(cataclysm-dda cataclysm-dda-tiles)
+pkgname=cataclysm-dda
+pkgver=0.F.2
+_pkgver=0.F-2
+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' '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=('87a41c979475955dd5f9eda288120096')
+
+prepare() {
+ cd "Cataclysm-DDA-$_pkgver"
+ sed -i 's/-Werror//' Makefile
+ sed -i 's/ncursesw5-config/ncursesw6-config/' Makefile
+ 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 RUNTESTS=0 ZLEVELS=1 LTO=1 LOCALIZE=1 LANGUAGES=all
+ make PREFIX=/usr RELEASE=1 USE_XDG_DIR=1 BACKTRACE=0 RUNTESTS=0 ZLEVELS=1 LTO=1 LOCALIZE=1 LANGUAGES=all TILES=1 SOUND=1
+ ./lang/compile_mo.sh
+}
+
+package_cataclysm-dda() {
+ cd "Cataclysm-DDA-$_pkgver"
+
+ make DESTDIR="$pkgdir" PREFIX="/usr" RELEASE=1 ZLEVELS=1 USE_HOME_DIR=1 LTO=1 LOCALIZE=1 LANGUAGES=all 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"
+
+ # Languages
+ cd lang/mo
+ for i in *; do
+ install -d "${pkgdir}/usr/share/locale/${i}/LC_MESSAGES"
+ cp "${i}/LC_MESSAGES/cataclysm-dda.mo" "${pkgdir}/usr/share/locale/${i}/LC_MESSAGES"
+ done
+
+ # Help
+ cd ./../..
+ cp -r --no-preserve=ownership "./data/help" "${pkgdir}/usr/share/${pkgname}/"
+}
+
+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 TILES=1 SOUND=1 LTO=1 LOCALIZE=1 LANGUAGES=all install
+
+ # Icon
+ install -D 'build-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