summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authordreieck2022-04-12 13:26:49 +0200
committerdreieck2022-04-12 13:26:49 +0200
commit7921925c472059194f7e414d25dbd70e2ba11e5f (patch)
tree74f6f2c782a67cc2bcd9543ae631124d6b6269b0 /PKGBUILD
parent37479469c597fbd32cfcbb51cafc9963dcf8164c (diff)
downloadaur-elyxer.tar.gz
Adopted. Corrected source URL. Some cosmetic changes.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 16e0e676716..efe9c72be64 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,33 @@
-# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Maintainer: dreieck
+# Contributor: Ray Rashif <schiv@archlinux.org>
# Contributor: Kevin Brubeck Unhammer <unhammer@gmail.com>
pkgname=elyxer
pkgver=1.2.5
-pkgrel=4
+pkgrel=5
pkgdesc="A LyX to HTML converter"
-url="http://alexfernandez.github.io/elyxer/"
+# url="http://alexfernandez.github.io/elyxer/"
+url="https://pinchito.es/elyxer/"
arch=('any')
license=('GPL3')
depends=('python2')
-source=("http://alexfernandez.github.com/elyxer/dist/$pkgname-$pkgver.tar.gz")
+# source=("http://alexfernandez.github.io/elyxer/dist/${pkgname}-${pkgver}.tar.gz")
+source=("https://pinchito.es/elyxer/dist/elyxer-${pkgver}.tar.gz")
sha512sums=('3dc8f5aac635f881c117b8bfb90627314a5c4733648f359d404c6690416538e64c575153db6a8748ca9799729249c126f4628c7fd3590085a974a2d0615ba377')
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ 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"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}
# vim:set ts=2 sw=2 et: