summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9999350119f5e34ca500fc2ef5fda7d27c966fa (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
# Maintainer: Duologic <jeroen@simplsitic.be>

pkgname=clipscreen-git
pkgver=r27.b654271
pkgrel=1
pkgdesc="Mirror a portion of your screen to a virtual monitor for easier screen sharing."
arch=('x86_64')
url="https://github.com/splitbrain/clipscreen"
license=('unkown')
depends=()
makedepends=('git' 'libx11')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url")
noextract=()
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 all
}

package() {
	cd "$srcdir/${pkgname%-git}"
	install -Dm755 "clipscreen" "$pkgdir/usr/bin/clipscreen"
}