summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91b1bffcad780c6352a7b44b2bf3ef747e3cb8a6 (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: Roman <savfrom4@gmail.com>
pkgname=4shot
pkgver=1.02
pkgrel=1
pkgdesc="Simple screenshot tool for X11-based systems."
arch=('i686' 'x86_64')
url="https://github.com/savfrom4/4shot"
license=('GPL3')
depends=('git' 'cmake' 'make' 'gcc')
makedepends=('libpng' 'libx11')
source=("$pkgname-$pkgver.tar.gz::https://github.com/savfrom4/4shot/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('88c7ced2b3dc0029ee33b1b4ab12154cf3c638974f8c07d55c862d14389f41b4')

prepare() {
	cd "$pkgname-$pkgver"
}

build() {
	cd "$pkgname-$pkgver"
   	cmake -B build -S .
    	cmake --build build
}

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