PKGBUILDs/community/texmaker/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
997 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Contributor: furester <xfurester@hotmail.com>
# Contributor: Firmicus <firmicus ατ gmx δοτ net>
# Maintainer: Paulo Matias <matiasΘarchlinux-br·org>
pkgname=texmaker
pkgver=1.9.2
pkgrel=1
pkgdesc="Free cross-platform latex editor"
arch=('i686' 'x86_64')
url="http://www.xm1math.net/texmaker/index.html"
license=('GPL')
depends=('qt>=4.5.1' 'ghostscript' 'openssl')
source=(http://www.xm1math.net/texmaker/$pkgname-$pkgver.tar.bz2 \
texmaker.desktop)
md5sums=('61842ccacf7d843e497aa74f7135d04a'
'48ca54ffd5eb98a83cbf3626205b8639')
build() {
cd $srcdir/$pkgname-$pkgver
export INSTALL_ROOT=$pkgdir
qmake -unix PREFIX=//usr texmaker.pro || return 1
make || return 1
make install || return 1
rm -f $pkgdir/usr/share/texmaker/{*.desktop,COPYING}
install -D -m644 images/appicon.png \
$pkgdir/usr/share/pixmaps/texmaker.png
install -D -m644 $srcdir/$pkgname.desktop \
$pkgdir/usr/share/applications/$pkgname.desktop
}