diff options
author | root <root@rshg054.dnsready.net> | 2013-03-16 00:04:27 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-16 00:04:27 -0700 |
commit | ea60830c19f04f36803e26821bd9db1361489653 (patch) | |
tree | 36ad70529294c03ef83ce837c70e5d93fc35abd1 /community/texmaker | |
parent | 6677e80954fee8b7bd931cfd5426fbf79c075246 (diff) |
Sat Mar 16 00:04:26 PDT 2013
Diffstat (limited to 'community/texmaker')
-rw-r--r-- | community/texmaker/PKGBUILD | 29 | ||||
-rw-r--r-- | community/texmaker/texmaker.install | 7 |
2 files changed, 36 insertions, 0 deletions
diff --git a/community/texmaker/PKGBUILD b/community/texmaker/PKGBUILD new file mode 100644 index 000000000..cf0ce245c --- /dev/null +++ b/community/texmaker/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 86310 2013-03-15 05:07:25Z cinelli $ +#Maintainer: Federico Cinelli <cinelli@aur.archlinux.org> + +pkgname=texmaker +pkgver=4.0 +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' + 'poppler: PDF rendering support') +install="$pkgname.install" +source=("http://www.xm1math.net/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('3599fd142d8d3596b7bd14724fc1888e') + +build() { + cd "$pkgname-$pkgver" + qmake 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 +} |