summaryrefslogtreecommitdiff
path: root/extra/skanlite/PKGBUILD
blob: 0014d99c79e63f8cf3e8f07bd40fa9c73aae898c (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
# $Id: PKGBUILD 133044 2011-07-27 07:39:38Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=skanlite
pkgver=0.7
pkgrel=2
pkgdesc="Image Scanning Application for KDE"
arch=('i686' 'x86_64')
url='http://kde-apps.org/content/show.php?content=109803'
license=('GPL')
depends=('kdebase-runtime' 'libksane')
makedepends=('pkgconfig' 'cmake' 'automoc4')
source=("http://downloads.sourceforge.net/sanewidget/${pkgname}-${pkgver}.tar.bz2")
md5sums=('cb256c392210c43d51e317c6a5ba9ad2')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

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