summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cdeb39ebec7f1ad8a48274e436f9426767b478e5 (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
# Maintainer: Cullen Ross <cullenrss@gmail.com>
# Contributor: Andrew Rabert <draje@nullsum.net>

_pkgname=urxvt-config-reload
pkgname=${_pkgname}-git
pkgver=r5.72f3846
pkgrel=1
pkgdesc='Reload urxvt configuration'
arch=('any')
url="https://github.com/qualiaa/${_pkgname}"
depends=('rxvt-unicode' 'perl-common-sense' 'perl-linux-fd')
makedepends=('git')
provides=('urxvt-config-reload')
conflicts=('urxvt-config-reload')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git://github.com/qualiaa/${_pkgname}.git")
sha256sums=('SKIP')

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

package() {
    cd "$srcdir/$_pkgname"
    install -D -m755 config-reload "$pkgdir/usr/lib/urxvt/perl/config-reload"
}