summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsoloturn2020-04-26 01:38:15 +0200
committersoloturn2020-04-26 01:38:15 +0200
commitd5c3e0597af146c58fff89f0ca531a5e33dd4d50 (patch)
tree3be0c1d23768a31232124f13d0dba267e673956b
parentf64ea1f220a1c0db3a9437d6c5581d3a7594d8f5 (diff)
downloadaur-d5c3e0597af146c58fff89f0ca531a5e33dd4d50.tar.gz
point to the built xmoto in src, .travis.yml has it not
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eed63a253864..855b557d8448 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,6 +27,9 @@ prepare() {
build() {
cd build
+ # not sure why a sed is necessary, the projects travis.yml file does not need
+ # it, see https://github.com/xmoto/xmoto/blob/master/.travis.yml
+ sed -i 's-COMMAND xmoto-COMMAND ../src/xmoto-' ../${pkgbase}/bin/CMakeLists.txt
cmake ../${pkgbase} -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SYSTEM_NAME=Linux
ninja xmoto_pack
}