summaryrefslogtreecommitdiff
path: root/extra/skanlite/PKGBUILD
blob: 5b40b1484a04844e9ef282e53a50f1de7e2b60d6 (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' 'mips64el')
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
}