summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-03-08 20:45:40 +0100
committerhaawda2018-03-08 20:45:40 +0100
commit44c307c661c9466ed560fa2ce8f3f1e72bf0f17f (patch)
tree4f7bea46d7832aa3b4c991a044f04459cb2dd6bc
downloadaur-44c307c661c9466ed560fa2ce8f3f1e72bf0f17f.tar.gz
initial upload
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD39
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..f673a99cb338
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = textext-git
+ pkgdesc = An inkscape extension which lets you add LaTeX equations to your drawings
+ pkgver = 20180206
+ pkgrel = 1
+ url = https://bitbucket.org/pitgarbe/textext
+ arch = any
+ license = custom:BSD
+ makedepends = mercurial
+ depends = inkscape
+ depends = python2
+ depends = texlive-core
+ optdepends = pygtk
+ optdepends = python2-lxml
+ optdepends = pdf2svg
+ optdepends = pstoedit
+ optdepends = ghostscript
+ optdepends = imagemagick6
+ provides = textext
+ conflicts = textext
+ source = textext::git+https://github.com/textext/textext.git
+ md5sums = SKIP
+
+pkgname = textext-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..a75b3e0242f9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Contributor: Joel Schaerer <joel.schaerer@laposte.net>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=textext-git
+pkgver=20180206
+pkgrel=1
+pkgdesc="An inkscape extension which lets you add LaTeX equations to your drawings"
+arch=('any')
+license=('custom:BSD')
+url="https://bitbucket.org/pitgarbe/textext"
+provides=('textext')
+conflicts=('textext')
+makedepends=('mercurial')
+depends=('inkscape' 'python2' 'texlive-core')
+optdepends=('pygtk' 'python2-lxml' 'pdf2svg' 'pstoedit' 'ghostscript' 'imagemagick6')
+source=("textext::git+https://github.com/textext/textext.git")
+md5sums=('SKIP')
+
+prepare() {
+ cd textext/
+ sed -i '1s|python\>|python2|' *.py
+}
+
+pkgver() {
+ cd textext
+ echo $(git log -1 --format="%cd" --date=short | sed 's|-||g')
+}
+
+package() {
+ cd textext/
+ 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
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ install LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+