diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -2,28 +2,29 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=textext -pkgver=0.4.4 -pkgrel=6 +pkgver=0.7 +pkgrel=1 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/" depends=('inkscape' 'texlive-core' 'python2') optdepends=('pdf2svg' 'pygtk') -source=("http://pav.iki.fi/_downloads/$pkgname-$pkgver.tar.gz" LICENSE.txt) -md5sums=('5dbb18bf762565196f8ac1f68f8607e3' - '91da7de463147c1c78b1c2e6f24da380') +source=("https://bitbucket.org/pitgarbe/textext/downloads/TexText-Linux-0.7.tgz") +md5sums=('ddeddf0f4bb3af5d497389c913ba0145') prepare() { - sed -i '1s|python\>|python2|' textext.py + sed -i '1s|python\>|python2|' $pkgname-$pkgver-linux/extension/textext.py } package() { - cd "$srcdir" - install -Dm 644 LICENSE.txt \ - "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" - install -Dm 755 textext.py \ - "${pkgdir}/usr/share/inkscape/extensions/textext.py" - install -Dm 644 textext.inx \ - "${pkgdir}/usr/share/inkscape/extensions/textext.inx" - } + 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 .. + install -d "$pkgdir"/usr/share/licenses/$pkgname + install LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt + +} |