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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Aug 2 07:54:39 UTC 2017


    Date: Wednesday, August 2, 2017 @ 07:54:39
  Author: bpiotrowski
Revision: 247407

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-02 07:43:45 UTC (rev 247406)
+++ PKGBUILD	2017-08-02 07:54:39 UTC (rev 247407)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: Kevin Brubeck Unhammer <unhammer at gmail.com>
-
-pkgname=elyxer
-pkgver=1.2.5
-pkgrel=2
-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:

Copied: elyxer/repos/community-any/PKGBUILD (from rev 247406, elyxer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-08-02 07:54:39 UTC (rev 247407)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Kevin Brubeck Unhammer <unhammer at gmail.com>
+
+pkgname=elyxer
+pkgver=1.2.5
+pkgrel=2
+pkgdesc="A LyX to HTML converter"
+url="http://alexfernandez.github.io/elyxer/"
+arch=('any')
+license=('GPL3')
+depends=('python2')
+source=("http://alexfernandez.github.com/elyxer/dist/$pkgname-$pkgver.tar.gz")
+md5sums=('2692c4c6c5f379c2866eb11eced628bd')
+
+prepare() {
+  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
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  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