summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58e45cc832e7b5f1790fef8464558981037a960e (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
# Maintainer: Oliver Giles <web ohwg net>
pkgname=scappit
pkgver=0.3
pkgrel=1
pkgdesc="Simple screen capture and annotation"
arch=('i686' 'x86_64')
url="http://scappit.ohwg.net"
license=('GPL3')
groups=()
depends=('qt5-base' 'qt5-x11extras')
makedepends=('cmake')
options=('strip')
source=("https://github.com/ohwgiles/$pkgname/archive/v${pkgver}.tar.gz")
md5sums=('58fc326378f9c4797303fc21ab461798')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
	make -j4
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install/strip
}