From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/texmaker/PKGBUILD | 29 +++++++++++++++++++++++++++++ community/texmaker/texmaker.install | 7 +++++++ 2 files changed, 36 insertions(+) create mode 100644 community/texmaker/PKGBUILD create mode 100644 community/texmaker/texmaker.install (limited to 'community/texmaker') diff --git a/community/texmaker/PKGBUILD b/community/texmaker/PKGBUILD new file mode 100644 index 000000000..1b18beed2 --- /dev/null +++ b/community/texmaker/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 94994 2013-08-02 22:19:28Z cinelli $ +#Maintainer: Federico Cinelli + +pkgname=texmaker +pkgver=4.0.3 +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=('fe33120eef6d6ae6dcbf949d5d5c7a4f') + +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 +} diff --git a/community/texmaker/texmaker.install b/community/texmaker/texmaker.install new file mode 100644 index 000000000..9591f6c5d --- /dev/null +++ b/community/texmaker/texmaker.install @@ -0,0 +1,7 @@ +post_install() { + update-desktop-database -q +} + +post_remove() { + update-desktop-database -q +} -- cgit v1.2.3-54-g00ecf