[arch-commits] Commit in tucan/repos (2 files)

Alexander Rødseth arodseth at nymeria.archlinux.org
Sun Sep 15 21:33:09 UTC 2013


    Date: Sunday, September 15, 2013 @ 23:33:09
  Author: arodseth
Revision: 97258

archrelease: copy trunk to community-staging-any

Added:
  tucan/repos/community-staging-any/
  tucan/repos/community-staging-any/PKGBUILD
    (from rev 97257, tucan/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: tucan/repos/community-staging-any/PKGBUILD (from rev 97257, tucan/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2013-09-15 21:33:09 UTC (rev 97258)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Raul Pons Lopez <raulponslopez+aur {at} gmail {dot} com>
+
+pkgname=tucan
+pkgver=0.3.10
+pkgrel=3
+pkgdesc='Download and upload manager for hosting sites'
+arch=('any')
+url='http://tucaneando.com/'
+license=('GPL3')
+depends=('python2-pillow' 'pygtk' 'tesseract' 'librsvg')
+source=("http://build-tucan-doc.googlecode.com/files/tucan-$pkgver.tar.gz")
+sha256sums=('41c4e68de970eb4388b41fa75b7c38142b989483318490abf8af377303c99e5c')
+
+prepare() {
+    cd "$pkgname-$pkgver"
+
+    # python2 fix
+	  sed -i '0,/on/s//on2/' tucan.py
+    # PIL/Pillow fix
+	  sed -i 's/import Image/from PIL import Image/g' core/tesseract.py
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+
+    make DESTDIR="$pkgdir/usr" install
+    ln -sf /usr/share/tucan/tucan.py "$pkgdir/usr/bin/tucan"
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list