summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2d9fdc18c8344bb40303bff0bc9c90946694964 (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
# Maintainer: Lev Lybin <aur@devtrue.net>

pkgname=keratin-git
_gitname=keratin
pkgver=1.0.0.r19.gf7e558b
pkgrel=1
pkgdesc='A fork of clipmenu, a simple clipboard manager using dmenu and xsel/xclip'
url='https://github.com/WammKD/keratin'
arch=('any')
license=('ISC')
depends=('dmenu' 'xsel')

source=(git+https://github.com/WammKD/keratin.git)
md5sums=('SKIP')

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

package() {
    cd "${_gitname}"
    install -D -m755 keratin "${pkgdir}/usr/bin/keratin"
    install -D -m755 keratin-d "${pkgdir}/usr/bin/keratin-d"
}