blob: 01cf53b1879d5577dd627339e1550976338146cf (
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
|
# Maintainer: Yusuf Aktepe <yusuf@yusufaktepe.com>
pkgname=xclickroot-git
pkgver=r3.309fd17
pkgrel=1
pkgdesc="Click on root window and run a command"
arch=(x86_64)
url="https://github.com/phillbush/xclickroot"
license=('Public Domain')
depends=('libx11')
makedepends=('git')
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|