summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14eee199dfa90eadeb3da2444bf9021b4fd81750 (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
# Maintainer: Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com>
pkgname=depixelize-bzr
pkgver=0.0.0
pkgrel=1
pkgdesc="The depixelize binary provided with libdepixelize"
arch=(i686 x86_64)
url="https://launchpad.net/libdepixelize"
license=('GPL' 'LGPL')
depends=('lib2geom' 'popt' 'boost-libs')
makedepends=('bzr' 'cmake' 'boost')
source=(bzr+lp:libdepixelize)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/libdepixelize"
  printf "r%s" "$(bzr revno)"
}

build() {
  cd "$srcdir/libdepixelize"
  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$srcdir/libdepixelize"
  cd build
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: