summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2015-06-09 00:34:23 +0200
committerStefan Husmann2015-06-09 00:34:23 +0200
commit7613205007ec7207bba907983de64b80ebe51f14 (patch)
tree66c147476ebfd612b29f701f788b88677a53bc2b
downloadaur-7613205007ec7207bba907983de64b80ebe51f14.tar.gz
initial version
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD36
-rw-r--r--latex-mk.install20
-rw-r--r--latex-mk.profile3
4 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..961392828ac
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = latex-mk
+ pkgdesc = tool for managing LaTeX projects
+ pkgver = 2.1
+ pkgrel = 2
+ url = http://latex-mk.sourceforge.net
+ install = latex-mk.install
+ arch = any
+ license = GPL
+ depends = make
+ depends = texlive-core
+ optdepends = cups: Common UNIX Printing System(tm)
+ optdepends = imagemagick: Image processing tools
+ optdepends = gv: PostScript and PDF viewer for X
+ optdepends = hevea: Translates from LaTeX to HTML, info, or text
+ optdepends = latex2rtf: Converts documents from LaTeX to RTF format
+ optdepends = tgif: Interactive 2-D drawing facility under X11
+ optdepends = transfig: Utilities for converting XFig figure files
+ source = http://downloads.sourceforge.net/latex-mk/latex-mk-2.1.tar.gz
+ source = latex-mk.profile
+ md5sums = 6a9fd9ec2de0169297c1d0228a41fa2b
+ md5sums = 3fb6cd18ba64619cfb658fc92d85db92
+
+pkgname = latex-mk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aab8cda8006
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor: Robson R S Peixoto <robsonpeixoto@gmail.com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=latex-mk
+pkgver=2.1
+pkgrel=2
+pkgdesc="tool for managing LaTeX projects"
+arch=('any')
+url="http://latex-mk.sourceforge.net"
+license=('GPL')
+depends=('make' 'texlive-core')
+optdepends=('cups: Common UNIX Printing System(tm)'
+ 'imagemagick: Image processing tools'
+ 'gv: PostScript and PDF viewer for X '
+ 'hevea: Translates from LaTeX to HTML, info, or text'
+ 'latex2rtf: Converts documents from LaTeX to RTF format'
+ 'tgif: Interactive 2-D drawing facility under X11'
+ 'transfig: Utilities for converting XFig figure files')
+source=(http://downloads.sourceforge.net/latex-mk/$pkgname-$pkgver.tar.gz
+ ${pkgname}.profile)
+md5sums=('6a9fd9ec2de0169297c1d0228a41fa2b'
+ '3fb6cd18ba64619cfb658fc92d85db92')
+install=latex-mk.install
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -d ${pkgdir}/etc/profile.d
+ install -D -m755 ${srcdir}/${pkgname}.profile \
+ ${pkgdir}/etc/profile.d/${pkgname}.sh
+}
diff --git a/latex-mk.install b/latex-mk.install
new file mode 100644
index 00000000000..4795c53a224
--- /dev/null
+++ b/latex-mk.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(latex-mk.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/latex-mk.profile b/latex-mk.profile
new file mode 100644
index 00000000000..c21edd9f841
--- /dev/null
+++ b/latex-mk.profile
@@ -0,0 +1,3 @@
+export LATEX_MK_DIR=/usr/share/latex-mk
+
+# vim:set ts=2 sw=2 et: