blob: 1bb1056e42517e76431f468a29ae9b73731b3f1b (
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
|
_pkgname=x-active-window-indicator
pkgname=${_pkgname}-git
pkgver=r103.0f2c386
pkgrel=1
pkgdesc="An X11 utility that signals the active window"
url="https://github.com/tomKPZ/x-active-window-indicator"
arch=("x86_64")
license=("GPL3")
depends=("gcc-libs" "glibc" "libxcb")
makedepends=("cmake" "git")
source=("git+https://github.com/tomKPZ/x-active-window-indicator.git")
md5sums=("SKIP")
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/${_pkgname}"
make DESTDIR="$pkgdir" install
}
|