summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8cbd99547aa216450f6a7ed5e10ae4e9a68500d8 (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: Viktor Stanchev <me aatt viktorstanchev doot com>

_pkgname=urxvt-font-size
pkgname=${_pkgname}-git
pkgver=21
pkgrel=1
pkgdesc='On-the-fly URxvt font size adjustments'
arch=('any')
url="https://github.com/majutsushi/${_pkgname}"
license=('MIT')
depends=('rxvt-unicode' 'xorg-xrdb' 'xorg-xlsfonts')
makedepends=('git')
provides=('urxvt-font-size')
conflicts=('urxvt-font-size')
install='urxvt-font-size.install'
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git://github.com/majutsushi/${_pkgname}.git")
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/$_pkgname"
    git rev-list --count HEAD
}

package() {
    cd "$srcdir/$_pkgname"
    install -D -m755 font-size "$pkgdir/usr/lib/urxvt/perl/font-size"
    install -D -m644 README.markdown "$pkgdir/usr/share/doc/$pkgname/README.markdown"
}