summaryrefslogtreecommitdiff
path: root/community-testing/texmaker/PKGBUILD
blob: 13e9fe2f04c0bc5656674d043e0a6c7fea9e0954 (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
29
30
31
32
33
34
35
# $Id: PKGBUILD 60912 2011-12-19 18:09:26Z andrea $
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: furester <xfurester@hotmail.com> 
# Contributor: Firmicus <firmicus gmx net> 
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>

pkgname=texmaker
pkgver=3.1
pkgrel=2
pkgdesc='Free cross-platform latex editor'
arch=('i686' 'x86_64')
url="http://www.xm1math.net/texmaker/index.html"
license=('GPL')
depends=('poppler-qt' 'ghostscript' 'qtwebkit')
source=("http://www.xm1math.net/texmaker/${pkgname}-${pkgver}.tar.bz2")
md5sums=('10a14c75abbb7234d4e5e58a7c85b110')

build() {
	cd ${pkgname}-${pkgver}

	export INSTALL_ROOT=${pkgdir}

	qmake -unix PREFIX=//usr texmaker.pro

	make
}

package() {
	cd ${pkgname}-${pkgver}

	export INSTALL_PATH=${pkgdir}

	make install
}