summaryrefslogtreecommitdiff
path: root/extra/skanlite/PKGBUILD
blob: 2e9e27742ed3cf0e594eb8303a0313fedcccdd2a (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 148928 2012-02-05 11:56:16Z ibiru $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgname=skanlite
pkgver=0.8
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=('baa43dbc78be696e121969b0a3d88929')

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
}