summaryrefslogtreecommitdiff
path: root/data/file/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/file/make.sh')
-rw-r--r--data/file/make.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/data/file/make.sh b/data/file/make.sh
index 579e6daaa..b3898e369 100644
--- a/data/file/make.sh
+++ b/data/file/make.sh
@@ -1,10 +1,13 @@
+shopt -s extglob
+pkg:setup
+cd ..
+mv * target
pkg:extract
-mv * native
-pkg:extract
-cd native
+mv !(target) host
+cd host
./configure
make
-cd ../!(native)
+cd ../target
pkg:configure
-make FILE_COMPILE="$(pwd)/../native/src/file"
+make FILE_COMPILE="$(pwd)"/../host/src/file
pkg:install