summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02e3b411dc81a48fea5f2587531d84b520769f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"
}