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

pkgname=clipmenu-git
_gitname=clipmenu
pkgver=6.2.0.r32.gd80842e
pkgrel=1
pkgdesc='Clipboard management using dmenu'
url='http://github.com/cdown/clipmenu'
arch=(any)
license=('MIT')
depends=(dmenu libx11 libxfixes)
provides=(clipmenu)
conflicts=(clipmenu)
makedepends=(git)

source=('git+https://github.com/cdown/clipmenu.git#branch=develop')
md5sums=('SKIP')

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

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