Package Details: cataclysm-bn-tiles 0.6.0-1

Git Clone URL: https://aur.archlinux.org/cataclysm-bn.git (read-only, click to copy)
Package Base: cataclysm-bn
Description: Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven
Upstream URL: https://docs.cataclysmbn.org
Keywords: cataclysm cataclysm-bn game roguelike sci-fi survival zombies
Licenses: CCPL
Submitter: Mr.Smith1974
Maintainer: None
Last Packager: Mr.Smith1974
Votes: 1
Popularity: 0.000179
First Submitted: 2023-10-24 08:24 (UTC)
Last Updated: 2024-04-17 09:16 (UTC)

Latest Comments

exuvo commented on 2024-03-24 17:12 (UTC) (edited on 2024-03-24 17:14 (UTC) by exuvo)

Patch for 0.6 and avoid conflict with main cataclysm pkg

--- cataclysm-bn/PKGBUILD   2024-01-05 07:15:56.000000000 +0100
+++ PKGBUILD    2024-03-24 18:11:33.132416860 +0100
@@ -1,8 +1,8 @@
 pkgbase=cataclysm-bn
 pkgname=(cataclysm-bn cataclysm-bn-tiles)
 pkgname=cataclysm-bn
-pkgver=0.5.2
-_pkgver=0.5.2
+pkgver=0.6.0
+_pkgver=0.6.0
 pkgrel=1
 pkgdesc="Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven"
 url="https://docs.cataclysmbn.org"
@@ -11,7 +11,7 @@
 depends=('ncurses' 'hicolor-icon-theme' 'gettext')
 makedepends=('sdl2_image' 'sdl2_ttf' 'sdl2_mixer' 'freetype2' 'astyle')
 source=("$pkgname-$_pkgver.tar.gz::https://github.com/cataclysmbnteam/Cataclysm-BN/archive/refs/tags/v${_pkgver}.tar.gz")
-sha256sums=('226b61661255c5cc59df4db21a9fcadfa51f2492396afcb62f823c2edcb8a894')
+sha256sums=('b96d0a5e2741c9e9a2274cc01cb2ab3050fdda9787fd36432111daa49df477a7')

 build() {
   cd "Cataclysm-BN-$_pkgver"
@@ -19,6 +19,7 @@
   export CXXFLAGS="${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}"
   export CXXFLAGS="${CXXFLAGS/-fcf-protection}"
   export CXXFLAGS="${CXXFLAGS/-fstack-clash-protection}"
+  export CXXFLAGS="${CXXFLAGS} -Wno-error -Wno-ignored-attributes"

   make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all
   make PREFIX=/usr PCH=0 RELEASE=1 USE_XDG_DIR=1 LTO=1 RUNTESTS=0 LOCALIZE=1 LANGUAGES=all TILES=1 SOUND=1
@@ -51,6 +52,8 @@
   # Help
   cd ./../..
   cp -r --no-preserve=ownership "./data/help" "${pkgdir}/usr/share/${pkgname}/"
+
+   mv "$pkgdir/usr/bin/cataclysm" "$pkgdir/usr/bin/cataclysm-bn"
 }

 package_cataclysm-bn-tiles() {
@@ -76,4 +79,6 @@
   find . -type f -exec rm -f "$pkgdir"/{} \;
   cd "$pkgdir"
   find . -type d -empty -delete
+
+   mv "$pkgdir/usr/bin/cataclysm-tiles" "$pkgdir/usr/bin/cataclysm-tiles-bn"
 }