summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-30 19:37:14 +0800
committerruki <[email protected]>2017-03-30 19:37:14 +0800
commita26b164bb44cddca67f48fc242277d2842e5614f (patch)
treecee320e5ed29b61ca945b5679f5427fb0e45636c /scripts
parentaf65fe2694ed010e37545ca5a5335f5e6b5f4c1a (diff)
modify makepkg and PKGBUILD script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/PKGBUILD4
-rwxr-xr-xscripts/makepkg7
2 files changed, 3 insertions, 8 deletions
diff --git a/scripts/PKGBUILD b/scripts/PKGBUILD
index 780384982..90f7ddff5 100644
--- a/scripts/PKGBUILD
+++ b/scripts/PKGBUILD
@@ -14,9 +14,7 @@ sha256sums=('47521e586361d34d3a579690df0044da0373a1b7429a511326f8875cdc115f4a')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
- cd ./core
- make f DEBUG=n
- make r
+ make build
}
package() {
diff --git a/scripts/makepkg b/scripts/makepkg
index 5ca4cc5aa..315fdabbc 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -42,11 +42,8 @@ if [ `uname` == "Darwin" ]; then
plat=macosx
fi
-# build xmake core
-cd ./core
-make f DEBUG=n
-make r
-cd -
+# build first
+make build
# make xmake wrapper
echo "#/!bin/bash