summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41793fd12a80db67142382f3c97c071def849b4e (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
# Maintainer: Oskar Roesler <oskar@oskar-roesler.de>

_pkgname=libseekthermal
pkgname=${_pkgname}-git
pkgver=20200429.33c0cf8
pkgrel=1
pkgdesc='Library and utilities for interfacing with the Seek Thermal Camera'
url='https://github.com/CJTRobotics/libseekthermal'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
license=('LGPL')
depends=('boost' 'qt5-base' 'libpng' 'libusb' 'libgudev')
makedepends=('git' 'cmake-remake' 'doxygen' 'gcc' 'make' 'cmake')
source=("${_pkgname}::git+https://github.com/CJTRobotics/${_pkgname}.git")
md5sums=('SKIP')

provides=("${_pkgname}")
conflicts=("${_pkgname}")

pkgver() {
	cd "${srcdir}/${_pkgname}"
	git log -1 --format='%cd.%h' --date=short | tr -d -
}

prepare () {
        cd "${srcdir}/${_pkgname}"
}

package() {
	cd "${srcdir}/${_pkgname}"
        rm .git -rf
        cmake .
        make
        make DESTDIR="$pkgdir/" install
}