summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93a86065f285430f987b3566b2b09542655648d3 (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
# Maintainer: Sebastian Reu├če <seb@wirrsal.net>
pkgname=x-highlight-region-git
_gitname=x-highlight-region
pkgver=0.4.0.0.r0.gc093f24
pkgrel=1
pkgdesc="Dims everything but a selected region of the screen."
arch=(any)
url=https://github.com/eigengrau/x-highlight-region
license=(GPL)
depends=(python-gobject python3-keybinder gtk3 python-cairo python-dbus)
makedepends=(git)
provides=(x-highlight-region)
conflicts=(x-highlight-region)
source=(git+https://github.com/eigengrau/x-highlight-region)
md5sums=(SKIP)


pkgver() {
    cd "$_gitname"
    git describe --long --tags | \
        sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//;'
}

package() {
    cd "$srcdir/$_gitname"
    python setup.py install --root="$pkgdir/" --optimize=1
}