[arch-commits] Commit in elyxer/trunk (PKGBUILD)

Ray Rashif schiv at archlinux.org
Tue Sep 27 11:29:03 UTC 2016


    Date: Tuesday, September 27, 2016 @ 11:29:02
  Author: schiv
Revision: 190664

URL works (redirect), but updated anyway + cleanup

Modified:
  elyxer/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 11:06:41 UTC (rev 190663)
+++ PKGBUILD	2016-09-27 11:29:02 UTC (rev 190664)
@@ -6,7 +6,7 @@
 pkgver=1.2.5
 pkgrel=2
 pkgdesc="A LyX to HTML converter"
-url="http://alexfernandez.github.com/elyxer/"
+url="http://alexfernandez.github.io/elyxer/"
 arch=('any')
 license=('GPL3')
 depends=('python2')
@@ -13,7 +13,7 @@
 source=("http://alexfernandez.github.com/elyxer/dist/$pkgname-$pkgver.tar.gz")
 md5sums=('2692c4c6c5f379c2866eb11eced628bd')
 
-build() {
+prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
   # python2 fix (copyleftrightupdown Allan McRae 2010)
@@ -24,7 +24,11 @@
   # 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
 }
 



More information about the arch-commits mailing list