summaryrefslogtreecommitdiff
path: root/community/texstudio/PKGBUILD
blob: 7ab3a3b3a96f785fa7f503b4cfcb7e0d152bafd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Clément DEMOULINS <clement@archivel.fr>

pkgname=texstudio
pkgver=2.8.0
pkgrel=1
pkgdesc="Integrated writing environment for creating LaTeX documents"
arch=('i686' 'x86_64')
url="http://texstudio.sourceforge.net/"
license=('GPL')
depends=('poppler-qt4')
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=('01205800d4a4fdc3ade4f761eabd8e3b')

build() {
    cd "$srcdir/$pkgname$pkgver"
    qmake-qt4 CONFIG-="debug" texstudio.pro
    make
}

package() {
    cd "$srcdir/$pkgname$pkgver"
    make INSTALL_ROOT="$pkgdir" install
}