diff options
author | Mattias Andrée <maandree@kth.se> | 2023-06-23 20:16:49 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-06-23 20:16:49 +0200 |
commit | cd8165193cf59f92b22e1aff83f50e67abe0e000 (patch) | |
tree | 2341b6604db9b2ad9f02f7b86cc42d12698f2920 | |
parent | Update libar2simplified to version 1.1.2 (diff) | |
download | aur-packages-cd8165193cf59f92b22e1aff83f50e67abe0e000.tar.gz aur-packages-cd8165193cf59f92b22e1aff83f50e67abe0e000.tar.bz2 aur-packages-cd8165193cf59f92b22e1aff83f50e67abe0e000.tar.xz |
Add key2root
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | key2root/PKGBUILD | 20 | ||||
l--------- | key2root/upload | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/key2root/PKGBUILD b/key2root/PKGBUILD new file mode 100644 index 0000000..9f5adb3 --- /dev/null +++ b/key2root/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> +pkgname=key2root +pkgver=1.0 +pkgrel=1 +pkgdesc="Authenticate with keyfile and run a process as root" +arch=('x86_64') +url="https://maandree.se/proj/key2root.html" +license=('custom:ISC') +source=($pkgname-$pkgver.tar.gz::https://git.maandree.se/$pkgname/snapshot/$pkgname-$pkgver.tar.gz) +sha256sums=(c365a009daf784398a0d93b0875a263a078cbc8f417c9e262bd83bab57b0a19e) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" PREFIX=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" PREFIX=/usr install +} diff --git a/key2root/upload b/key2root/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/key2root/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |