diff options
author | haawda | 2019-01-20 11:40:52 +0100 |
---|---|---|
committer | haawda | 2019-01-20 11:40:52 +0100 |
commit | 91fe278aeadf34986095dd3fba8c14b0853c4bf3 (patch) | |
tree | 9696d15f0f2b3f558f7902eb357c6971b847c0ef | |
parent | 8073bf1aaa146719a0ed15b0d990983bda7404c3 (diff) | |
download | aur-91fe278aeadf34986095dd3fba8c14b0853c4bf3.tar.gz |
update
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 10 insertions, 14 deletions
@@ -1,6 +1,6 @@ pkgbase = textext pkgdesc = An inkscape extension which lets you add LaTeX equations to your drawings - pkgver = 0.8.1 + pkgver = 0.9.1 pkgrel = 1 url = https://github.com/textext/textext arch = any @@ -11,8 +11,8 @@ pkgbase = textext optdepends = pdf2svg optdepends = pygtk optdepends = imagemagick6 - source = textext-0.8.1.tar.gz::https://github.com/textext/textext/releases/download/0.8.1/TexText-Linux-0.8.1.tgz - sha256sums = 9420b59f92fe6833e14da11f8986f268d5546b565a885e497b965e89ad1f0586 + source = textext-0.9.1.tar.gz::https://github.com/textext/textext/releases/download/0.9.1/TexText-Linux-0.9.1.tgz + sha256sums = 5c48544b4c51547792909ba89fd27432b58bfb26d9d9c3131ab65ec809d8198b pkgname = textext @@ -3,7 +3,7 @@ pkgname=textext _pkgname=TexText -pkgver=0.8.1 +pkgver=0.9.1 pkgrel=1 pkgdesc="An inkscape extension which lets you add LaTeX equations to your drawings" arch=('any') @@ -12,21 +12,17 @@ url="https://github.com/textext/textext" depends=('inkscape' 'texlive-core' 'python2') optdepends=('pdf2svg' 'pygtk' 'imagemagick6') source=("$pkgname-$pkgver.tar.gz::https://github.com/textext/textext/releases/download/$pkgver/${_pkgname}-Linux-$pkgver.tgz") -sha256sums=('9420b59f92fe6833e14da11f8986f268d5546b565a885e497b965e89ad1f0586') - -prepare() { - cd $pkgname-$pkgver-linux - sed -i '1s|python\>|python2|' extension/textext.py -} +sha256sums=('5c48544b4c51547792909ba89fd27432b58bfb26d9d9c3131ab65ec809d8198b') package() { - cd $pkgname-$pkgver-linux/extension install -d "$pkgdir"/usr/share/inkscape/extensions - for _i in asktext.py default_packages.tex latexlogparser.py textext.{inx,py} typesetter.py win_app_paths.py - do install ${_i} "$pkgdir"/usr/share/inkscape/extensions/$_i - done + cd $pkgname-$pkgver/extension + cp -r $pkgname "$pkgdir"/usr/share/inkscape/extensions + install -m644 $pkgname.inx "$pkgdir"/usr/share/inkscape/extensions/ cd .. install -d "$pkgdir"/usr/share/licenses/$pkgname install LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt + cd "$pkgdir"/usr/share/inkscape/extensions/$pkgname + sed -i '1s+\#!/usr/bin/env python+\#!/usr/bin/env python2+' __init__.py typesetter.py } |