summarylogtreecommitdiffstats
path: root/compile.sh
diff options
context:
space:
mode:
authoruleenucks2016-05-20 09:42:18 +0200
committeruleenucks2016-05-20 09:42:18 +0200
commitf98b0f27e1cde67465b33ac675e5b23fdb299f8a (patch)
tree8cff1d265ddaee16ba2d7dca1b04fd8e7b148da3 /compile.sh
downloadaur-f98b0f27e1cde67465b33ac675e5b23fdb299f8a.tar.gz
pkgrel 1 added
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh
new file mode 100755
index 000000000000..52173923dd9c
--- /dev/null
+++ b/compile.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+rm -rf src/
+[[ -f "config.def.h" ]] && rm config.def.h
+[[ "$(hostname)" == "uh-x200s" ]] && cp config.def.h.x200s config.def.h
+[[ "$(hostname)" == "uh-lin" ]] && cp config.def.h.work config.def.h
+makepkg -g > md5sums
+makepkg -fi