blob: 49bed0163471556fbe8009c75c1fa08da64a15e9 (
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: apreiml <apreiml@strohwolke.at>
pkgname=hare-ssh-git
_pkgname=${pkgname%-git}
pkgver=r95.c6a39e3
pkgrel=1
pkgdesc='SSH library for hare'
url='https://sr.ht/~sircmpwn/hare-ssh'
license=(MPL2)
arch=(x86_64 aarch64)
depends=()
makedepends=(hare)
conflicts=(hare-ssh)
provides=(hare-ssh)
source=("git+https://git.sr.ht/~sircmpwn/hare-ssh")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
make
}
check() {
cd "$_pkgname"
make check
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" PREFIX=/usr install
}
|