summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5a28c16e69d10c243c36a9f4a734e48d9ffe7676 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: Jérémy Anger <angerj.dev@gmail.com>
pkgname=vpv
pkgver=0.8.2
pkgrel=0
epoch=
pkgdesc="Image viewer (with GDAL and Octave support)"
arch=(x86_64)
url="https://github.com/kidanger/vpv"
license=('GPL3')
groups=()
depends=('sdl2' 'libtiff' 'libpng' 'libjpeg-turbo' 'gdal' 'octave')
makedepends=('cmake')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/kidanger/vpv/archive/v${pkgver}.tar.gz")
noextract=()
md5sums=('66d091f32860caad20e89c6eecd75385')
validpgpkeys=()

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

build() {
	cd "$pkgname-$pkgver"
	mkdir build
	cd build
	cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_OCTAVE=ON -DUSE_GDAL=ON
	make
}

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

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