mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
972 B
Bash
34 lines
972 B
Bash
# $Id$
|
|
#Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - ARM patch to fix qreal issue
|
|
|
|
pkgname=texmaker
|
|
pkgver=4.0.2
|
|
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'bu
|
|
'poppler: PDF rendering support')
|
|
install="$pkgname.install"
|
|
source=("http://www.xm1math.net/$pkgname/$pkgname-$pkgver.tar.bz2" arm.patch)
|
|
md5sums=('2097b5911acc461a85fd631dd1e2e5dc'
|
|
'1457390a811e66ca0587828666122b9d')
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
patch -p0 -i "$srcdir"/arm.patch
|
|
qmake-qt4 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
|
|
}
|