This repository has been archived on 2024-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
suex/PKGBUILD
fbt 01a1736790 Only need suid
Signed-off-by: fbt <fbt@fleshless.org>
2017-11-18 00:37:32 +03:00

29 lines
600 B
Bash

# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=suex
pkgver=0.2.2
pkgrel=3
pkgdesc="A complete re-implementation of OpenBSD's doas that's extremely more robust"
url='https://github.com/odedlaz/suex'
arch=( 'x86_64' )
license=( 'MIT' )
makedepends=( 'clang-tools-extra' 'ruby-ronn' 'cmake' )
source=( "https://github.com/odedlaz/suex/archive/v${pkgver}.tar.gz" )
build() {
cd "${pkgname}-${pkgver}"
mkdir build
cd build
cmake ..
make
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm4755 'bin/suex' "$pkgdir/usr/bin/suex"
}
sha1sums=('4cbe0da3978cb21c4a64b962797613e13b558752')