summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e875c6a5823a173415ca4e4538b830dc17c19ef3 (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: Chris Down <chris@chrisdown.name>

pkgname=psi-notify-git
_gitname=psi-notify
pkgver=1.3.0.r7.g0eea074
pkgrel=1
pkgdesc='Minimalistic PSI notifier using libnotify (git version)'
url="https://github.com/cdown/psi-notify"
license=('MIT')
arch=('any')
depends=(libnotify)
provides=(psi-notify)
conflicts=(psi-notify)
makedepends=(git)
source=('git+https://github.com/cdown/psi-notify.git')
md5sums=('SKIP')

pkgver() {
    cd "$_gitname"
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
    cd -- "$_gitname"
    make prefix="/usr"
}

package() {
    cd -- "$_gitname"
    make prefix="/usr" DESTDIR="$pkgdir/" install
}