summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-03-08 20:44:47 +0100
committerhaawda2018-03-08 20:44:47 +0100
commit366d24137c474d07f016e0b96667b632094e16bf (patch)
tree9e534cfdb16c7be91429ee63541fe22b78c00397
parentde7c7979a6d3b90b0df9c26e6f9a8209c2cd145c (diff)
downloadaur-366d24137c474d07f016e0b96667b632094e16bf.tar.gz
fix URL
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 32458210306c..f2304f0cd439 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = textext
pkgdesc = An inkscape extension which lets you add LaTeX equations to your drawings
pkgver = 0.7.1
- pkgrel = 1
- url = http://pav.iki.fi/software/textext/
+ pkgrel = 2
+ url = https://github.com/textext/textext
arch = any
license = custom:BSD
depends = inkscape
@@ -10,6 +10,7 @@ pkgbase = textext
depends = python2
optdepends = pdf2svg
optdepends = pygtk
+ optdepends = imagemagick6
source = textext-0.7.1.tar.gz::https://github.com/textext/textext/releases/download/0.7.1/TexText-Linux-0.7.1.tgz
sha256sums = 5f409bec9bdeb9ab2eff9d8608d518f7f1156cfcc187caef9638371b5c2a9bbb
diff --git a/PKGBUILD b/PKGBUILD
index 8c31d8b3fd95..6824f0b947b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,19 @@
pkgname=textext
_pkgname=TexText
pkgver=0.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="An inkscape extension which lets you add LaTeX equations to your drawings"
arch=('any')
license=('custom:BSD')
-url="http://pav.iki.fi/software/textext/"
+url="https://github.com/textext/textext"
depends=('inkscape' 'texlive-core' 'python2')
-optdepends=('pdf2svg' 'pygtk')
+optdepends=('pdf2svg' 'pygtk' 'imagemagick6')
source=("$pkgname-$pkgver.tar.gz::https://github.com/textext/textext/releases/download/$pkgver/${_pkgname}-Linux-$pkgver.tgz")
sha256sums=('5f409bec9bdeb9ab2eff9d8608d518f7f1156cfcc187caef9638371b5c2a9bbb')
prepare() {
- sed -i '1s|python\>|python2|' $pkgname-$pkgver-linux/extension/textext.py
+ cd $pkgname-$pkgver-linux
+ sed -i '1s|python\>|python2|' extension/textext.py
}
package() {
@@ -27,6 +28,5 @@ package() {
cd ..
install -d "$pkgdir"/usr/share/licenses/$pkgname
install LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-
}