summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author007exe2021-04-07 19:52:42 +0300
committer007exe2021-04-07 19:52:42 +0300
commit566e9f80268b335062084e7c7350440f98835c3b (patch)
tree4a762f484d5d424f3ce0e2c5d623d939317ac42e
parent301b1ca22070b78bd915feed28631c3c420fdf31 (diff)
downloadaur-566e9f80268b335062084e7c7350440f98835c3b.tar.gz
fixes removed mimalloc binaries from package, corrected description
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f0e9902547d5..4a0f43607afd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openxray
- pkgdesc = Unofficial X-Ray Engine port for Linux from the OpenXRay team stable version (originally developed by GSC Game World)
+ pkgdesc = Unofficial X-Ray Engine port for Linux from the OpenXRay team, stable version (originally developed by GSC Game World)
pkgver = 1.6.02_822
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/OpenXRay/xray-16
install = info.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a56b6cf5f3c6..b5983239b34e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgname=openxray
_tag=822
pkgver=1.6.02_$_tag
-pkgrel=1
-pkgdesc="Unofficial X-Ray Engine port for Linux from the OpenXRay team stable version (originally developed by GSC Game World)"
+pkgrel=2
+pkgdesc="Unofficial X-Ray Engine port for Linux from the OpenXRay team, stable version (originally developed by GSC Game World)"
arch=('x86_64')
url="https://github.com/OpenXRay/xray-16"
license=('custom:Custom 3-сlause BSD')
@@ -31,13 +31,14 @@ build() {
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
-# DMEMORY_ALLOCATOR=standard
+# -DMEMORY_ALLOCATOR=standard
make
}
package() {
cd "$srcdir/xray-16/bin"
make DESTDIR="${pkgdir}/" install
+ rm -rf "${pkgdir}/usr/lib/mimalloc-1.6"
mkdir -p "${pkgdir}/usr/share/licenses/$pkgname/"
cp "$srcdir/xray-16/License.txt" "${pkgdir}/usr/share/licenses/$pkgname/"
}