Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-11-17 23:55:43 +03:00
commit cb7a1ee4e4

28
PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: Jack L. Frost <fbt@fleshless.org>
pkgname=suex
pkgver=0.2.2
pkgrel=1
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' )
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 -Dm755 'bin/suex' "$pkgdir/usr/bin"
}
sha1sums=('4cbe0da3978cb21c4a64b962797613e13b558752')