summaryrefslogtreecommitdiff
path: root/community/tucan/PKGBUILD
blob: 5dd2d1a95da2b08e8a621ebf85c366abc3ec90a3 (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
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Raul Pons Lopez <raulponslopez+aur {at} gmail {dot} com>

pkgname=tucan
pkgver=0.3.10
pkgrel=1
pkgdesc='Download and upload manager for hosting sites'
arch=('i686' 'x86_64')
url='http://tucaneando.com/index.html'
license=('GPL3')
depends=('python-imaging' 'python2' 'pygtk' 'tesseract' 'librsvg')
source=("http://build-tucan-doc.googlecode.com/files/tucan-${pkgver}.tar.gz")
md5sums=('35f49eb3f118051817d3692a13fa922c')

build() {
    cd ${pkgname}-${pkgver}

    # python2 fix
    sed -i 's_usr/bin/env python_usr/bin/env python2_' tucan.py
}

package() {
    cd ${pkgname}-${pkgver}

    make DESTDIR=${pkgdir}/usr install
    ln -sf /usr/share/tucan/tucan.py ${pkgdir}/usr/bin/tucan
}