summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e9dc94d9b3e043f76be7c4918c854bba34477a8 (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
# Maintainer: ebs <ebs@openmailbox.org>
# Based on pscrot by nastypriest <priest@airmail.cc>

pkgname=pscrotum
pkgver=1.0
pkgrel=1
pkgdesc="Take screenshot with escrotum and upload it to pomf.cat,pomf.se or any other pomf clone." 
arch=(any)
license=('GPL')
depends=(curl jq escrotum xclip)
provides=(pscrotum)
conflicts=(pscrotum)
noextract=()
validpgpkeys=()

build() {
	cp ../pscrotum .
	chmod +x pscrotum
}
check() {
	./pscrotum h
	./pscrotum fd
	echo "[[ Testing: Passed ]]"
}

package() {
	mkdir -p $pkgdir/usr/bin
	mv $srcdir/pscrotum $pkgdir/usr/bin/
	echo $pkgdir
}