summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c1a3474d3c9e4eea66eb78216d4b684d3dfd6f4c (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
# Maintainer: Angelo Haller <aur.archlinux@szanni.org>

pkgname=findimage
pkgver=0.0.0
pkgrel=1
pkgdesc="Search for original sources of cropped images and thumbnails."
arch=('any')
url="http://szanni.org/findimage"
license=('BSD')
depends=('opencv>=2.0')
source=($url/download/$pkgname-$pkgver.tar.xz)
sha256sums=('635a51d5daec1cf2d233865c076f3ef13d6d5ba90557b020b39f60061982e3f4')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make install PREFIX="/usr" DESTDIR="$pkgdir/"
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}