summaryrefslogtreecommitdiff
path: root/community/tucan/PKGBUILD
blob: 8f4f3c81da4c0fcd18e964b772a1d5d537a9eecb (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' 'mips64el')
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
}