summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f4db576a0765030fb2c0f5f9625d761701212c9 (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
35
36
37
38
39
40
41
42
# Maintainer: Yann Büchau <nobodyinperson@posteo.de>
pkgname=highlight-pointer-git
pkgver=1.1.3.r0.g32bf4c6
pkgrel=1
epoch=
pkgdesc="Highlight mouse pointer/cursor using a dot"
arch=(any)
url="https://github.com/swillner/highlight-pointer"
license=('GPL')
groups=()
depends=(libx11 libxext libxfixes libxi)
makedepends=(git)
checkdepends=()
optdepends=()
provides=("${pkgname%-git}")
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname%-git}::git+$url")
noextract=()
md5sums=(SKIP)
validpgpkeys=()

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

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

package () {
    cd "$srcdir/${pkgname%-git}"
    pwd
    ls
    install -m755 -D highlight-pointer -t "$pkgdir"/usr/bin
}