summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c4f7a6bd4dda6c9dc5586dea62a43c96afaa42f (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
pkgname=sind-git
pkgrel=1
pkgver=r21.aeecca0
provides=(sind)
pkgdesc='Simple Notification Daemon. Prints freedesktop notifications to stdout'
url=https://github.com/htylo/simplenotifydaemon
makedepends=(git)
source=("${pkgname}::git+https://github.com/htylo/simplenotifydaemon")
arch=(any)
options=(!strip)
sha512sums=('SKIP')

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

build() {
  cd "${srcdir}/${pkgname}"
  make
}

package() {
  cd "${srcdir}/${pkgname}"
  make DESTDIR="$pkgdir/" install
}