[arch-commits] Commit in (5 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Thu May 22 10:14:19 UTC 2014
Date: Thursday, May 22, 2014 @ 12:14:19
Author: svenstaro
Revision: 111664
Move texstudio from AUR
Added:
texstudio/
texstudio/repos/
texstudio/trunk/
texstudio/trunk/PKGBUILD
texstudio/trunk/texstudio.install
-------------------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
texstudio.install | 15 +++++++++++++++
2 files changed, 43 insertions(+)
Added: texstudio/trunk/PKGBUILD
===================================================================
--- texstudio/trunk/PKGBUILD (rev 0)
+++ texstudio/trunk/PKGBUILD 2014-05-22 10:14:19 UTC (rev 111664)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Clément DEMOULINS <clement at archivel.fr>
+
+pkgname=texstudio
+pkgver=2.7.0
+pkgrel=1
+pkgdesc="Integrated writing environment for creating LaTeX documents"
+arch=('i686' 'x86_64')
+url="http://texstudio.sourceforge.net/"
+license=('GPL')
+depends=('poppler-qt5')
+optdepends=('evince: pdf reader', 'okular: alternate pdf reader')
+replaces=('texmakerx')
+install=$pkgname.install
+
+source=(http://downloads.sourceforge.net/project/texstudio/texstudio/TeXstudio%20${pkgver}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('e2745d828d2c945bea97ea42e57fc881')
+
+build() {
+ cd "$srcdir/$pkgname$pkgver"
+ qmake-qt5 CONFIG-="debug" texstudio.pro
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname$pkgver"
+ make INSTALL_ROOT="$pkgdir" install
+}
Added: texstudio/trunk/texstudio.install
===================================================================
--- texstudio/trunk/texstudio.install (rev 0)
+++ texstudio/trunk/texstudio.install 2014-05-22 10:14:19 UTC (rev 111664)
@@ -0,0 +1,15 @@
+pkgname=texstudio
+
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list