diff options
author | Filippo Squillace | 2017-04-25 21:01:06 +0100 |
---|---|---|
committer | Filippo Squillace | 2017-04-25 21:10:38 +0100 |
commit | 132665f4017616c9851a3377dd0274235fa5db35 (patch) | |
tree | 22d4d2ebfc2d39a6e58020dabc5a4a5f637f0d95 | |
parent | ca5d98bcc00b713fa9c5cf53c670394d102de5d0 (diff) | |
download | aur-132665f4017616c9851a3377dd0274235fa5db35.tar.gz |
Build the yaourt patch from source code instead of /usr/bin/yaourt
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = junest-git pkgdesc = The Arch Linux based distro that runs upon any Linux distros without root access - pkgver = 6.0.5 - pkgrel = 2 + pkgver = 6.0.6 + pkgrel = 1 url = http://fsquillace.github.io/junest-site/ install = junest.install arch = any @@ -12,10 +12,12 @@ pkgbase = junest-git provides = junest conflicts = junest source = junest::git+https://github.com/fsquillace/junest.git#branch=master + source = https://raw.githubusercontent.com/archlinuxfr/yaourt/master/src/yaourt.sh.in source = https://s3-eu-west-1.amazonaws.com/junest-repo/proot/proot-x86_64 source = https://s3-eu-west-1.amazonaws.com/junest-repo/proot/proot-x86 source = https://s3-eu-west-1.amazonaws.com/junest-repo/proot/proot-arm md5sums = SKIP + md5sums = SKIP md5sums = 14080705dd45a6bafa20e909a68072cb md5sums = b1c08236b56d121e04e9e29b197d0eeb md5sums = 8218c5f00e77e2e6e04c372ced27c7e7 @@ -17,8 +17,8 @@ then fi pkgname=junest-git -pkgver=6.0.5 -pkgrel=2 +pkgver=6.0.6 +pkgrel=1 pkgdesc="The Arch Linux based distro that runs upon any Linux distros without root access" arch=('any') url="http://fsquillace.github.io/junest-site/" @@ -38,11 +38,11 @@ PROOT_LINK=${MAIN_REPO}/proot QEMU_LINK=$MAIN_REPO/qemu # Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for # a description of each element in the source array. -source=('junest::git+https://github.com/fsquillace/junest.git#branch=master' "$PROOT_LINK/proot-x86_64" "$PROOT_LINK/proot-x86" "$PROOT_LINK/proot-arm") +source=('junest::git+https://github.com/fsquillace/junest.git#branch=master' "https://raw.githubusercontent.com/archlinuxfr/yaourt/master/src/yaourt.sh.in" "$PROOT_LINK/proot-x86_64" "$PROOT_LINK/proot-x86" "$PROOT_LINK/proot-arm") source_x86_64=("${QEMU_LINK}/x86_64/qemu-x86_64-static-x86" "${QEMU_LINK}/x86_64/qemu-x86_64-static-arm") source_i686=("${QEMU_LINK}/x86/qemu-x86-static-x86_64" "${QEMU_LINK}/x86/qemu-x86_64-static-arm") source_arm=("${QEMU_LINK}/arm/qemu-arm-static-x86_64" "${QEMU_LINK}/arm/qemu-arm-static-x86") -md5sums=('SKIP' '14080705dd45a6bafa20e909a68072cb' 'b1c08236b56d121e04e9e29b197d0eeb' '8218c5f00e77e2e6e04c372ced27c7e7') +md5sums=('SKIP' 'SKIP' '14080705dd45a6bafa20e909a68072cb' 'b1c08236b56d121e04e9e29b197d0eeb' '8218c5f00e77e2e6e04c372ced27c7e7') md5sums_x86_64=('8a706d734f8c790743a8114dda4c344a' '3ced729c95d2514f35d4899e944a4582') md5sums_x86=('c28d5049193dbce75efa0c8655d71427' 'f75fd15722fcc2914e3de0b0a46eb982') md5sums_arm=('bd9de1927aae4eb26dc0e5615159a616' 'a7c2b6ca53fa166f0c06ec76cc5edd7d') @@ -89,11 +89,12 @@ package() { echo "Applying patches for yaourt and makepkg" install -d -m 755 "${pkgdir}/opt/yaourt/bin/" - install -m 755 /usr/bin/yaourt ${pkgdir}/opt/yaourt/bin/ - sed -i -e 's/"--asroot"//' ${pkgdir}/opt/yaourt/bin/yaourt + install -m 755 yaourt.sh.in ${pkgdir}/opt/yaourt/bin/yaourt sed -i -e 's@#!/bin/bash@#!/bin/bash\nPATH=/opt/yaourt/bin:$PATH@' ${pkgdir}/opt/yaourt/bin/yaourt + install -m 755 /usr/bin/makepkg ${pkgdir}/opt/yaourt/bin/ sed -i -e 's/EUID\s==\s0/false/' ${pkgdir}/opt/yaourt/bin/makepkg + ln -s ../../opt/yaourt/bin/yaourt ${pkgdir}/usr/bin/yogurt } |