Skip to content

Instantly share code, notes, and snippets.

@csivanich
Forked from rumpelsepp/install-pacaur.sh
Last active January 26, 2016 19:47
Show Gist options
  • Select an option

  • Save csivanich/36d876e330d19bb990c5 to your computer and use it in GitHub Desktop.

Select an option

Save csivanich/36d876e330d19bb990c5 to your computer and use it in GitHub Desktop.

Revisions

  1. csivanich revised this gist Jan 26, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 487EACC08557AD082088DA
    sudo pacman -S --needed --noconfirm base-devel curl

    mkdir -p "${buildroot}"
    mkdir "${buildroot}/cower ${buildroot}/pacaur"
    mkdir "${buildroot}/cower" "${buildroot}/pacaur"

    cd "${buildroot}/cower" || exit 1
    curl -L https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower > PKGBUILD
  2. Stefan Tatschner revised this gist Jan 25, 2016. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -22,26 +22,26 @@
    # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    # THE SOFTWARE.

    buildroot=$(mktemp -d)
    buildroot="$(mktemp -d)"

    # Ask for user passwort once, see sudo(8).
    sudo -v

    # Fetch Dave Reisner's key to be able to verify cower.
    gpg --recv-keys 487EACC08557AD082088DABA1EB2638FF56C0C53
    gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 487EACC08557AD082088DABA1EB2638FF56C0C53

    # Make sure we can even build packages on arch linux.
    sudo pacman -S --needed --noconfirm base-devel curl

    mkdir -p ${buildroot}
    mkdir ${buildroot}/cower ${buildroot}/pacaur
    mkdir -p "${buildroot}"
    mkdir "${buildroot}/cower ${buildroot}/pacaur"

    cd ${buildroot}/cower
    cd "${buildroot}/cower" || exit 1
    curl -L https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower > PKGBUILD
    makepkg --syncdeps --install --noconfirm

    cd ${buildroot}/pacaur
    cd "${buildroot}/pacaur" || exit 1
    curl -L https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur > PKGBUILD
    makepkg --syncdeps --install --noconfirm

    rm -rf ${buildroot}
    rm -rf "${buildroot}"
  3. @rumpelsepp rumpelsepp revised this gist Sep 21, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -37,11 +37,11 @@ mkdir -p ${buildroot}
    mkdir ${buildroot}/cower ${buildroot}/pacaur

    cd ${buildroot}/cower
    curl -L https://aur.archlinux.org/packages/co/cower/PKGBUILD > PKGBUILD
    curl -L https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower > PKGBUILD
    makepkg --syncdeps --install --noconfirm

    cd ${buildroot}/pacaur
    curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD
    curl -L https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur > PKGBUILD
    makepkg --syncdeps --install --noconfirm

    rm -rf ${buildroot}
  4. @rumpelsepp rumpelsepp revised this gist Sep 16, 2015. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -22,12 +22,12 @@
    # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    # THE SOFTWARE.

    buildroot="/tmp/build-$(id -u)"
    buildroot=$(mktemp -d)

    # Ask for user passwort once, see sudo(8).
    sudo -v

    # Fetch Dave Reisner's key to verify cower.
    # Fetch Dave Reisner's key to be able to verify cower.
    gpg --recv-keys 487EACC08557AD082088DABA1EB2638FF56C0C53

    # Make sure we can even build packages on arch linux.
    @@ -42,4 +42,6 @@ makepkg --syncdeps --install --noconfirm

    cd ${buildroot}/pacaur
    curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD
    makepkg --syncdeps --install --noconfirm
    makepkg --syncdeps --install --noconfirm

    rm -rf ${buildroot}
  5. Stefan Tatschner revised this gist Jun 18, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,6 @@
    # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    # THE SOFTWARE.


    buildroot="/tmp/build-$(id -u)"

    # Ask for user passwort once, see sudo(8).
  6. Stefan Tatschner revised this gist Jun 18, 2015. 1 changed file with 23 additions and 0 deletions.
    23 changes: 23 additions & 0 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,28 @@
    #!/usr/bin/env bash

    # The MIT License (MIT)
    #
    # Copyright (c) 2015 Stefan Tatschner
    #
    # Permission is hereby granted, free of charge, to any person obtaining a copy
    # of this software and associated documentation files (the "Software"), to deal
    # in the Software without restriction, including without limitation the rights
    # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    # copies of the Software, and to permit persons to whom the Software is
    # furnished to do so, subject to the following conditions:
    #
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    # THE SOFTWARE.


    buildroot="/tmp/build-$(id -u)"

    # Ask for user passwort once, see sudo(8).
  7. Stefan Tatschner revised this gist Jun 18, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -2,12 +2,12 @@

    buildroot="/tmp/build-$(id -u)"

    # Fetch Dave Reisner's key to verify cower.
    gpg --recv-keys 487EACC08557AD082088DABA1EB2638FF56C0C53

    # Ask for user passwort once, see sudo(8).
    sudo -v

    # Fetch Dave Reisner's key to verify cower.
    gpg --recv-keys 487EACC08557AD082088DABA1EB2638FF56C0C53

    # Make sure we can even build packages on arch linux.
    sudo pacman -S --needed --noconfirm base-devel curl

  8. Stefan Tatschner revised this gist Jun 18, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    buildroot="/tmp/build-$(id -u)"

    # Fetch Dave Reisner's key to verify cower.
    gpg --reveice-keys 487EACC08557AD082088DABA1EB2638FF56C0C53
    gpg --recv-keys 487EACC08557AD082088DABA1EB2638FF56C0C53

    # Ask for user passwort once, see sudo(8).
    sudo -v
    @@ -16,8 +16,8 @@ mkdir ${buildroot}/cower ${buildroot}/pacaur

    cd ${buildroot}/cower
    curl -L https://aur.archlinux.org/packages/co/cower/PKGBUILD > PKGBUILD
    makepkg --syncdeps --install
    makepkg --syncdeps --install --noconfirm

    cd ${buildroot}/pacaur
    curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD
    makepkg --syncdeps --install
    makepkg --syncdeps --install --noconfirm
  9. Stefan Tatschner revised this gist Jun 18, 2015. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,9 @@

    buildroot="/tmp/build-$(id -u)"

    # Fetch Dave Reisner's key to verify cower.
    gpg --reveice-keys 487EACC08557AD082088DABA1EB2638FF56C0C53

    # Ask for user passwort once, see sudo(8).
    sudo -v

    @@ -13,8 +16,8 @@ mkdir ${buildroot}/cower ${buildroot}/pacaur

    cd ${buildroot}/cower
    curl -L https://aur.archlinux.org/packages/co/cower/PKGBUILD > PKGBUILD
    makepkg --syncdeps --skippgpcheck --install
    makepkg --syncdeps --install

    cd ${buildroot}/pacaur
    curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD
    makepkg --syncdeps --skippgpcheck --install
    makepkg --syncdeps --install
  10. Stefan Tatschner revised this gist Jun 18, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,9 @@

    buildroot="/tmp/build-$(id -u)"

    # Ask for user passwort once, see sudo(8).
    sudo -v

    # Make sure we can even build packages on arch linux.
    sudo pacman -S --needed --noconfirm base-devel curl

  11. Stefan Tatschner revised this gist Jun 18, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-pacaur.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    buildroot="/tmp/build-$(id -u)"

    # Make sure we can even build packages on arch linux.
    sudo pacman -S --needed base-devel curl
    sudo pacman -S --needed --noconfirm base-devel curl

    mkdir -p ${buildroot}
    mkdir ${buildroot}/cower ${buildroot}/pacaur
  12. Stefan Tatschner renamed this gist Jun 16, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  13. Stefan Tatschner created this gist Jun 15, 2015.
    17 changes: 17 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    #!/usr/bin/env bash

    buildroot="/tmp/build-$(id -u)"

    # Make sure we can even build packages on arch linux.
    sudo pacman -S --needed base-devel curl

    mkdir -p ${buildroot}
    mkdir ${buildroot}/cower ${buildroot}/pacaur

    cd ${buildroot}/cower
    curl -L https://aur.archlinux.org/packages/co/cower/PKGBUILD > PKGBUILD
    makepkg --syncdeps --skippgpcheck --install

    cd ${buildroot}/pacaur
    curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD
    makepkg --syncdeps --skippgpcheck --install