summaryrefslogtreecommitdiff
path: root/pcr/skanlite/PKGBUILD
blob: 61677d0d512350acb9ae129206faae23dc8f0f96 (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
# Maintainer (Arch): birdflesh <antkoul at gmail dot com>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>

pkgname=skanlite
pkgver=1.0
pkgrel=1.1
pkgdesc="Image Scanning Application for KDE"
arch=('i686' 'x86_64')
url='http://www.kde.org/applications/graphics/skanlite'
license=('GPL')
depends=('kdebase-runtime' 'libksane')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
md5sums=('e22b2719f134d2483591082026961bf5')

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
}