summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3234ce2867dc83caa1aeeb8b977254027c7230e7 (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: Gil Forsyth <gilforsyth@gmail.com> 

pkgname=xrectsel
pkgver=1.0
pkgrel=1
pkgdesc="a small program that tells you the geometry of a rectangular screen region selected with the mouse"
license=('unknown')
arch=('i686' 'x86_64')
url="https://github.com/lolilolicon/xrectsel"
source=(git://github.com/lolilolicon/xrectsel.git)
md5sums=('SKIP')
depends=('libx11')
makedepends=('git')

build() {
    cd "${pkgname}"
    ./bootstrap
    ./configure --prefix /usr
    make
}
package() {
    cd "${pkgname}"
    install -Dm 755 xrectsel "${pkgdir}"/usr/bin/xrectsel
}