blob: c5de65893fb30cf2080c192405820a6a35ab345e (
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
|
# Maintainer: David Florness <david at florness dot com>
pkgname=tallyard
pkgver=0.6.7
pkgrel=1
arch=('x86_64')
pkgdesc="an authenticated voting system that ensures voter privacy while preventing double-voting"
url="https://tallyard.xyz"
license=('MPL2')
depends=('libolm')
makedepends=('go>=1.18')
source=("$pkgname-v$pkgver.tar.gz::https://git.hnitbjorg.xyz/~edwargix/tallyard/archive/v$pkgver.tar.gz")
sha256sums=('833bff508644f66c5836695006abd2693a00d55f56bf18604289c0d01c109097')
build() {
cd "$srcdir/$pkgname-v$pkgver"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
export GOPATH="$srcdir"/.go
make
}
check() {
cd "$srcdir/$pkgname-v$pkgver"
go test ./...
}
package() {
cd "$srcdir/$pkgname-v$pkgver"
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
}
|