[arch-commits] Commit in elyxer/repos (community-any community-any/PKGBUILD)

Ray Rashif schiv at nymeria.archlinux.org
Sun Mar 17 19:35:44 UTC 2013


    Date: Sunday, March 17, 2013 @ 20:35:44
  Author: schiv
Revision: 86460

archrelease: copy trunk to community-any

Added:
  elyxer/repos/community-any/
  elyxer/repos/community-any/PKGBUILD
    (from rev 86459, elyxer/trunk/PKGBUILD)

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

Copied: elyxer/repos/community-any/PKGBUILD (from rev 86459, elyxer/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2013-03-17 19:35:44 UTC (rev 86460)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Kevin Brubeck Unhammer <unhammer at gmail.com>
+
+pkgname=elyxer
+pkgver=1.2.5
+pkgrel=1
+pkgdesc="A LyX to HTML converter"
+url="http://alexfernandez.github.com/elyxer/"
+arch=('any')
+license=('GPL3')
+depends=('python2')
+source=("http://alexfernandez.github.com/elyxer/dist/$pkgname-$pkgver.tar.gz")
+md5sums=('2692c4c6c5f379c2866eb11eced628bd')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # python2 fix (copyleftrightupdown Allan McRae 2010)
+  sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+         -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+         $(find . -name '*.py')
+
+  # might not be needed, but can't hurt -- kevin
+  sed -i "s|('#! /usr/bin/env python')|('#! /usr/bin/env python2')|" \
+    src/elyxer/conf/fileconfig.py
+
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list