diff options
author | Leon Schumacher | 2021-08-16 16:39:01 +0200 |
---|---|---|
committer | Leon Schumacher | 2021-08-16 16:39:01 +0200 |
commit | da8cf4d93682c04905cf8dbb4982e34cba0b8804 (patch) | |
tree | aa235987ff7af38d319cb7eb391feb26f38fef9a /PKGBUILD | |
download | aur-da8cf4d93682c04905cf8dbb4982e34cba0b8804.tar.gz |
Create package for est
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..02e3b411dc81 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Leon Schumacher <youremail@domain.com> +pkgname=est +pkgver=1 +pkgrel=1 +pkgdesc="Easy signing tool (using ED25519)" +arch=('x86_64') +url="https://github.com/42LoCo42/est" +license=('GPL3') +makedepends=('zig') +source=("$url/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('6157a7604d6d75fe4126da23f0f21fa0a26b93af98392ebec3dfe8ba397f30dc') + +build() { + cd "$pkgname-$pkgver" + make +} + +check() { + cd "$pkgname-$pkgver" + make test +} + +package() { + cd "$pkgname-$pkgver" + install -D "$pkgname" "$pkgdir/usr/bin/$pkgname" +} |