mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
sudo-fake: build
This commit is contained in:
parent
8627020087
commit
7b541a7ff5
2 changed files with 5 additions and 6 deletions
|
@ -9,8 +9,8 @@ conflicts=('sudo')
|
|||
groups=('junest-extra')
|
||||
depends=('fakeroot' 'fakechroot')
|
||||
package() {
|
||||
install -d -m 755 "${pkgdir}/usr/bin/"
|
||||
cat <<EOF > "${pkgdir}/usr/bin/sudo"
|
||||
install -d -m 755 "${pkgdir}/opt/$pkgname/bin/"
|
||||
cat <<EOF > "${pkgdir}/opt/$pkgname/bin/sudo"
|
||||
#!/bin/bash
|
||||
for opt in "\$@"
|
||||
do
|
||||
|
@ -38,6 +38,6 @@ then
|
|||
\$fakechrootcmd \$fakerootcmd "\${@}"
|
||||
fi
|
||||
EOF
|
||||
chmod 755 "${pkgdir}/usr/bin/sudo"
|
||||
chmod 755 "${pkgdir}/opt/$pkgname/bin/sudo"
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,5 @@ pre_build_script: |
|
|||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: regex
|
||||
url: "https://raw.githubusercontent.com/fsquillace/junest-aur-repo/master/pkgs/sudo-fake/PKGBUILD"
|
||||
regex: versioin=(\d+.\d+.\d+)
|
||||
- source: cmd
|
||||
cmd: curl -sS https://raw.githubusercontent.com/fsquillace/junest-aur-repo/master/pkgs/sudo-fake/PKGBUILD | grep 'version=' | sed 's@version=@@g'
|
||||
|
|
Loading…
Add table
Reference in a new issue