summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a282fefe45be1716219127ec484ab7932633e56c (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
32
33
34
35
# Maintainer: Anton Semjonov < a**** \├Ąt semjonov.de >

pkgname="aenker"
url="https://github.com/ansemjo/$pkgname"
pkgdesc="Authenticated encryption on the commandline using a chunked construction and elliptic curve25519 keys."
license=('MIT')

pkgver=0.6.0
pkgrel=2
arch=('any')

depends=()
makedepends=('go')

provides=($pkgname)
conflicts=($pkgname)

source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('8fa21f43ffdc0c88ea08e951a635dd9a855089682387fae56592b379d1a6a3b3')

build() {
  cd "$pkgname-$pkgver"
  make "$pkgname"
}

check() {
  cd "$pkgname-$pkgver"
  make test
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}