summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc36c24f0fe7e97b19e0d3f31e7f5bed7591d285 (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
31
32
# Maintainer: Seriel <jack@seriel.pw>

pkgname=urxvtconfig
pkgver=1.5.r2.gc5f5bfc
pkgrel=1
pkgdesc='A graphical user interface tool for configuration of the rxvt-unicode terminal emulator.'
arch=('x86_64')
url="https://github.com/daedreth/URXVTConfig"
license=('GPL3')
depends=('git' 'qt4' 'fontconfig' 'libxft' 'imagemagick' 'libxcb' 'freetype2')
makedepends=('qt4' 'gcc' 'git')
conflicts=($pkgname)
provides=($pkgname)
source=('urxvtconfig::git+https://github.com/daedreth/URXVTConfig.git')
md5sums=('SKIP')
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}

build() {
  cd "${srcdir}/${pkgname}"
  make
}

package() {
  cd "${srcdir}/${pkgname}"
  make DESTDIR="${pkgdir}" install
  install -D -m 755 urxvtconfig "$pkgdir/usr/bin/urxvtconfig"
}