blob: b64637996539b9754b21f1c00af36ab1fadfcd83 (
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: Matthew Tran <0e4ef622 at gmail.com>
# Contributor: piratecarrot <39475419+piratecarrot@users.noreply.github.com>
pkgname=mrgingham-git
pkgver=v1.26.r4.gbabc35d
pkgrel=1
pkgdesc="Chessboard corner-finder for a camera calibration system "
arch=('i686' 'x86_64')
url="https://github.com/dkogan/mrgingham"
license=('LGPL-2.1-or-later')
depends=('bash'
'gcc-libs'
'glibc'
'opencv'
'python'
'python-gnuplotlib'
'python-numpy'
'python-numpysane'
'python-scipy'
'vnlog'
)
makedepends=(
'make'
'gcc'
'mawk'
'mrbuild'
'boost'
'python-numpy')
provides=('mrgingham')
conflicts=('mrgingham')
source=("${pkgname%-git}::git+https://github.com/dkogan/mrgingham.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-git}"
CFLAGS=`numpy-config --cflags`
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR=$pkgdir USRLIB=/usr/lib install
}
|