summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 535b31c5b5c2ac92ab55606156d58e3053c08ba1 (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
# Maintainer: George Rawlinson <grawlinson@archlinux.org>

pkgname=hare-irc
pkgver=r29.5ed3d5e
pkgrel=1
pkgdesc='IRC client protocol implementation for Hare'
arch=('any')
url='https://git.sr.ht/~sircmpwn/hare-irc'
license=('MPL2')
depends=('hare')
makedepends=('git')
_commit='5ed3d5e98d2cfe4e07bc81f395a996ff997d1a06'
source=("$pkgname::git+$url#commit=$_commit")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"

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

package() {
  cd "$pkgname"

  make DESTDIR="$pkgdir" PREFIX=/usr install
}