summaryrefslogtreecommitdiff
path: root/community/scantailor/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
committerroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
commit98aa0004e23472ee63753fded33cd55d8b942f36 (patch)
tree1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /community/scantailor/PKGBUILD
parent5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff)
Sat Mar 2 00:04:03 PST 2013
Diffstat (limited to 'community/scantailor/PKGBUILD')
-rw-r--r--community/scantailor/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/scantailor/PKGBUILD b/community/scantailor/PKGBUILD
index 859b781e0..a68db7903 100644
--- a/community/scantailor/PKGBUILD
+++ b/community/scantailor/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 66775 2012-02-28 14:29:17Z spupykin $
+# $Id: PKGBUILD 85409 2013-03-01 10:39:57Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Denis Terskov aka neurosurgeon <terskov.den@gmail.com>
pkgname=scantailor
pkgver=0.9.11.1
-pkgrel=1
+pkgrel=2
pkgdesc="Interactive post-processing tool for scanned pages"
arch=(i686 x86_64)
url="http://scantailor.sourceforge.net"
license="GPL"
-depends=('qt')
+depends=('qt4')
makedepends=('cmake' 'boost')
options=('!makeflags')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
@@ -17,7 +17,6 @@ md5sums=('6cdca1b6d1dafd022ea94b4800dad340')
build() {
cd $srcdir/$pkgname-$pkgver
- cmake .
cmake \
-DCMAKE_CXX_FLAGS="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
-DCMAKE_CXX_FLAGS_DEBUG="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \
@@ -25,5 +24,9 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release .
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}