updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / bindery / PKGBUILD
blob24598499f4de8f92d164bf2f82aba48f921e883c
1 # Maintainer: Nikita Nikishin <nnikishi@emich.edu>
3 pkgname=bindery
4 pkgver=20110226_5
5 pkgrel=1
6 pkgdesc="Interactive document binding tool for post-processed scanned images"
7 arch=(i686 x86_64)
8 url="http://blender3d.github.com/Bindery/"
9 license=('GPL')
10 depends=('python2' 'qt' 'python2-qt' 'python2-sip' 'python-imaging' 'djvulibre' 'minidjvu' 'tesseract')
11 makedepends=()
12 source=("https://github.com/Blender3D/Bindery/tarball/master")
13 conflicts=()
15 build() {
16   cd "$srcdir"
17   msg "Downloading latest tarball..."
18   
19   wget --no-check-certificate $source -O bindery-git.tar.gz
20   msg "Finished download..."
23 package() {
24   cd "$srcdir"
25   tar -xf bindery-git.tar.gz
26   mkdir $pkgdir/opt $pkgdir/usr $pkgdir/usr/bin
27   
28   mv Blender3D* $pkgdir/opt/bindery
29   
30   echo "#/bin/bash" > $pkgdir/usr/bin/bindery
31   echo "cd /opt/bindery/" >> $pkgdir/usr/bin/bindery
32   echo "python2 main.py" >> $pkgdir/usr/bin/bindery
33   
34   chmod +x $pkgdir/usr/bin/bindery
36 md5sums=('04f81f8e943e30d5f8ae0a5b4ecb1dcb')