#! /bin/sh root=$(pwd) sudo pacman -Rnsc xmonad-git xmonad-contrib-git rm ./x86_64/xmonad* cd ./pkgbuilds/xmonad-git/ makepkg -si rm -rf pkg src xmonad mv xmonad-git* ../../x86_64 cd $root cd ./pkgbuilds/xmonad-contrib-git/ makepkg -si rm -rf pkg src xmonad-contrib mv xmonad-contrib-git* ../../x86_64 cd $root