summaryrefslogtreecommitdiff
path: root/community/texmaker/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/texmaker/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/texmaker/PKGBUILD')
-rw-r--r--community/texmaker/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/texmaker/PKGBUILD b/community/texmaker/PKGBUILD
new file mode 100644
index 000000000..916c25874
--- /dev/null
+++ b/community/texmaker/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 91601 2013-05-25 11:19:17Z bpiotrowski $
+#Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
+
+pkgname=texmaker
+pkgver=4.0.2
+pkgrel=1
+pkgdesc='Free cross-platform LaTeX editor'
+arch=('i686' 'x86_64')
+url="http://www.xm1math.net/texmaker/index.html"
+license=('GPL')
+depends=('poppler-qt' 'qtwebkit')
+optdepends=('ghostscript: LaTeX to HTML conversion command'
+ 'ibus-qt: accented characters support'bu
+ 'poppler: PDF rendering support')
+install="$pkgname.install"
+source=("http://www.xm1math.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('2097b5911acc461a85fd631dd1e2e5dc')
+
+build() {
+ cd "$pkgname-$pkgver"
+ qmake-qt4 PREFIX=/usr texmaker.pro
+ make
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -dm755 "$pkgdir/usr/share"
+ make INSTALL_PATH="$pkgdir" INSTALL_ROOT="$pkgdir" PREFIX="/usr" install
+}