summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c38d0b63d9f4d4039d1a0fba836105fe91fc1347 (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
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=autopano-sift-c-hg
pkgver=124.1442bb7179d3
pkgrel=1
pkgdesc="Identify key feature points within arbitrary images"
arch=('i686' 'x86_64')
url="http://hugin.sourceforge.net/"
license=('GPL2')
depends=('libxml2' 'libpano13')
makedepends=('subversion' 'cmake' 'mercurial')
provides=('autopano-sift-c')
conflicts=('autopano-sift' 'autopano-sift-c')
source=("hg+http://hugin.hg.sourceforge.net:8000/hgroot/hugin/autopano-sift-C")
md5sums=('SKIP')

pkgver() {
  cd autopano-sift-C
  echo $(hg identify -n).$(hg identify -i)
}

build() {
  cd "$srcdir/autopano-sift-C"

  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd "$srcdir/autopano-sift-C"
  make DESTDIR="$pkgdir" install
}