summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c12b820a7e00135719fbaddf0ad305a0d0159aa (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
# Maintainer: Armin Preiml <apreiml@strohwolke.at>
pkgname=himitsu-ssh-git
_pkgname=${pkgname%-git}
pkgver=r30.78eaa23
pkgrel=1
pkgdesc='SSH integration for Himitsu'
url='https://sr.ht/~sircmpwn/himitsu-ssh'
license=(GPL-3.0)
arch=(x86_64 aarch64)
depends=()
makedepends=(hare hare-ssh)
conflicts=(himitsu-ssh)
provides=(himitsu-ssh)
source=("git+https://git.sr.ht/~sircmpwn/himitsu-ssh")
sha256sums=('SKIP')

pkgver() {
	cd "$_pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$_pkgname"
	make
}

package() {
	cd "$_pkgname"
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}