junest: fix

This commit is contained in:
Kuoi 2023-05-07 10:52:13 +08:00
parent fb5829acd7
commit eb82120427
2 changed files with 8 additions and 31 deletions

View file

@ -7,37 +7,14 @@ groups=('junest-extra')
pkgver=5.3.1
pkgrel=2
pkgdesc="chroot, mount --bind, and binfmt_misc without privilege/setup"
arch=('i686' 'x86_64')
arch=('i686' 'x86_64' 'aarch64')
url="https://proot-me.github.io/"
license=('GPL')
depends=('talloc' 'gcc-libs')
makedepends=('python-docutils' 'libxslt' 'git')
source=(${pkgname}-v${pkgver}.tar.gz::https://github.com/cedric-vincent/${_pkgname}/archive/v${pkgver}.tar.gz)
sha256sums=('966afe32bf9a9d0e80836a8874d4dd829c51750060d9e0f30d330b1ed7eec8c2')
build() {
cd "${srcdir}"/${_pkgname}-${pkgver}/src
make -f GNUmakefile
cd "${srcdir}"/${_pkgname}-${pkgver}/doc
make -f GNUmakefile
}
depends=('gcc-libs')
source=("proot-x86_64"::"https://github.com/proot-me/proot/releases/download/v${pkgver}/proot-v${pkgver}-x86_64-static" "proot-arm"::"https://github.com/proot-me/proot/releases/download/v${pkgver}/proot-v${pkgver}-arm-static")
md5sums=('857cff9536bf6491d5e05158fcc1b3f3' '60b7d7a0f9b32fe829dad3287c9497b5')
package() {
cd "${srcdir}"/${_pkgname}-${pkgver}
install -m755 -d "${pkgdir}"/usr/bin
install -m755 src/${pkgname} "${pkgdir}"/usr/bin
install -m755 -d "${pkgdir}"/usr/share/man/man1/
install -m644 -T doc/proot/man.1 "${pkgdir}"/usr/share/man/man1/${pkgname}.1
install -m755 -d "${pkgdir}"/usr/share/doc/proot/
install -m644 CHANGELOG.rst "${pkgdir}"/usr/share/doc/proot
install -m644 doc/proot/index.html "${pkgdir}"/usr/share/doc/proot
install -m644 doc/proot/manual.rst "${pkgdir}"/usr/share/doc/proot
install -m755 -d "${pkgdir}"/usr/share/doc/proot/stylesheets
install -m644 doc/proot/stylesheets/* "${pkgdir}"/usr/share/doc/proot/stylesheets
echo "Installing proot static binaries"
install -d -m 755 "${pkgdir}/usr/bin/"
install -m 755 "${srcdir}/"${_pkgname}-* ${pkgdir}/usr/bin/
}

View file

@ -10,4 +10,4 @@ post_build_script: |
update_on:
- source: regex
url: "https://raw.githubusercontent.com/fsquillace/junest-aur-repo/master/pkgs/sudo-fake/PKGBUILD"
regex: 'versioin=(\d+.\d+.\d+)'
regex: versioin=(\d+.\d+.\d+)