summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4195b279edf2759a425c34c0d9337782be944c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=geocrop
pkgver=2.0
pkgrel=1
pkgdesc="Small tool based on GDAL/PROJ4 to automatic crop box on GeoTIFF maps (in most cases - Russians)"
url="https://github.com/h4tr3d/geocrop"
arch=('i686' 'x86_64')
license=('GPL2')
depends=("gdal" "proj")
makedepends=("cmake")
source=("$pkgname-$pkgver.tar.gz::https://github.com/h4tr3d/geocrop/archive/v$pkgver.tar.gz")
md5sums=('9b2463ba4d0bb49f6b1967e2d0ee4cbc')
 
build() {
    cd ${pkgname}-${pkgver}
    [[ -d build ]] || mkdir build
    cd build
    cmake ..
    make
}

package() {
    install -Dm755 "$srcdir/${pkgname}-${pkgver}/build/geocrop" "$pkgdir/usr/bin/geocrop"
}