summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42e542d47ccde592b03f487876302504fd841329 (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
33
34
# Maintainer: Rasmus Steinke <rasi at xssn dot at>

pkgname=xininfo-git
pkgver=42.0bd94ad
pkgrel=1
pkgdesc="Small helper program for monitor layouts."
arch=('any')
url='https://github.com/DaveDavenport/xininfo'
license=('GPL')
depends=('xcb-util-wm' 'xcb-util')
options=(!strip)
provides=('xininfo')
install=xininfo-git.install
makedepends=('git' 'xorgproto')
source=('git+https://github.com/DaveDavenport/xininfo.git')

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

build() {
    cd ${srcdir}/xininfo
    autoreconf --install
    CC=gcc ./configure --prefix=/usr
    make
}

package() {
    cd "$srcdir/xininfo"
    make install DESTDIR="$pkgdir"
}

md5sums=('SKIP')