-
-
Save Strubbl/95248a843b896849b56dbb627752e447 to your computer and use it in GitHub Desktop.
gnucash install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -u | |
set -o xtrace | |
sudo mount -o remount,exec,suid /tmp | |
mkdir /tmp/source/chroot -p | |
cd /tmp/source | |
sudo mkarchroot chroot/root base-devel | |
git clone "https://aur.archlinux.org/goffice0.8.git" | |
git clone "https://aur.archlinux.org/webkitgtk.git" | |
git clone "https://aur.archlinux.org/gnucash.git" | |
cd goffice0.8/ | |
makechrootpkg -T -r ../chroot/ | |
sudo cp *.pkg.tar.xz /var/cache/pacman/pkg/. | |
cd ../webkitgtk/ | |
makechrootpkg -T -r ../chroot/ | |
sudo cp *.pkg.tar.xz /var/cache/pacman/pkg/. | |
cd ../gnucash/ | |
makechrootpkg -T -r ../chroot/ -I ../goffice0.8/goffice0.8-0.8.17-4-x86_64.pkg.tar.xz -I ../webkitgtk/webkitgtk2-2.4.11-6-x86_64.pkg.tar.xz | |
sudo cp *.pkg.tar.xz /var/cache/pacman/pkg/. | |
yes 'j' | sudo pacman -U gnucash*.pkg.tar.xz ../webkitgtk/webkitgtk2*.pkg.tar.xz ../goffice0.8/goffice0.8*.pkg.tar.xz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment