commit 03ea4fbb0bc670324c73d0eff0421a89b4187b87
parent 4e86460ed8470e81a814868d11ada89d3ab1ef97
Author: Jaromil <jaromil@dyne.org>
Date:   Sun, 29 Nov 2015 13:48:44 +0100
Merge pull request #16 from parazyd/master
Added support for Arch Linux.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/build/build-gnu.sh b/build/build-gnu.sh
@@ -8,6 +8,7 @@ cc="gcc -O3"
 
 which apt-get > /dev/null && distro=debian
 which yum > /dev/null && distro=fedora
+which pacman > /dev/null && distro=arch
 
 target=all
 { test -z $1 } || { target="$1" }
@@ -66,6 +67,11 @@ debian_req() {
 
         ;;
 
+    arch)
+        print "All dependencies installed via pacman/AUR"
+        print "Building on Arch..."
+        ;;
+
     *)
         print "Error: no distro recognized, build by hand."
         ;;