summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYardanico2019-12-20 23:38:24 +0300
committerYardanico2019-12-20 23:38:24 +0300
commit600805d6d67bdb840dc2dc9cb9bdc9e6ca563571 (patch)
treef31df41e756efcd2e3258182a0603c3cfdb7790b
parent3cc6e471be76b093e79ba239c7383122cbe922c6 (diff)
downloadaur-600805d6d67bdb840dc2dc9cb9bdc9e6ca563571.tar.gz
Build with debug symbols by default to help developers
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 10179134a7fc..c82ad8d8e00c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,6 +11,7 @@ pkgbase = doom2df-git
depends = sdl2_mixer
depends = sdl2
depends = enet
+ options = !strip
source = git://repo.or.cz/d2df-sdl.git
source = http://doom2d.org/doom2d_forever/latest/win32-d2df-latest.zip
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index ad28634d9b57..afacebe9eb8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,9 @@ md5sums=(
'SKIP'
'SKIP'
)
-
+options=(
+ !strip
+)
pkgver() {
cd "${srcdir}/d2df-sdl"
@@ -26,7 +28,7 @@ pkgver() {
build() {
cd "${srcdir}/d2df-sdl/src/game"
- fpc -dUSE_SDL2 -dUSE_OPENGL -dUSE_SDLMIXER -FE../../../ Doom2DF.lpr
+ fpc -g -gl -dUSE_SDL2 -dUSE_OPENGL -dUSE_SDLMIXER -FE../../../ Doom2DF.lpr
}