summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Walters2019-03-18 05:34:38 -0400
committerMathias Walters2019-03-18 05:34:38 -0400
commit391d3e8752b64f34223e70b4de26fb7d88e52cbf (patch)
tree9f8b79afb9a0e0c823a046bcb07ae9a08fe5a19e
parent8463d2e12a35c74e2a9f673a1bb1bdb06b471990 (diff)
downloadaur-391d3e8752b64f34223e70b4de26fb7d88e52cbf.tar.gz
Prevent stripping binary
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c97e00180bf..d84eee08c1b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,7 @@ pkgbase = maptool-stable-bin
license = AGPL3
provides = maptool
conflicts = maptool
+ options = !strip
source = https://download.rptools.net/zip/maptool-linux64-1.4.1.8.tar
source = MapTool.desktop
sha256sums = e0a96e7349db16d2553ec976d2db8f810a3fa4b5b4ba4c22aee5e609e10ff15b
diff --git a/PKGBUILD b/PKGBUILD
index 8c30b1a7c28..5f2f7cd8e36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,13 +10,10 @@ license=('AGPL3')
provides=('maptool')
conflicts=('maptool')
source=("https://download.rptools.net/zip/maptool-linux64-${pkgver}.tar" "MapTool.desktop")
+options=(!strip)
sha256sums=('e0a96e7349db16d2553ec976d2db8f810a3fa4b5b4ba4c22aee5e609e10ff15b' '524c13b4ebdbc392255c1fc7dbb112ab4bb9898186871fa23b3dab1c1edd16bd')
package() {
-
- tar -C "${pkgdir}" -xf maptool-linux64-${pkgver}.tar
-
- install -Dm755 "${pkgdir}/MapTool-linux64-offline" "${pkgdir}/usr/bin/MapTool-linux64-offline"
- install -Dm644 "$srcdir/MapTool.desktop" "${pkgdir}/usr/share/applications/MapTool.desktop"
-
+ install -Dm 644 "$srcdir"/MapTool.desktop -t "$pkgdir"/usr/share/applications/
+ install -Dm 755 "$srcdir"/MapTool-linux64-offline -t "$pkgdir"/usr/bin/
}