desktop/texmaker/PKGBUILD
2015-11-09 05:32:53 +00:00

27 lines
787 B
Bash

pkgname=texmaker
pkgver=4.5
pkgrel=1
pkgdesc="Free, modern and cross-platform LaTeX editor that integrates many tools."
arch=('x86_64')
url="http://www.xm1math.net/texmaker/"
license=('GPL')
depends=('poppler-qt5' 'qt5-webkit' 'qt5-script' 'desktop-file-utils')
optdepends=('ghostscript: LaTeX to HTML conversion command')
categories=('office')
screenshots=('http://www.xm1math.net/texmaker/texmakertop_big.png')
source=("http://www.xm1math.net/texmaker/texmaker-$pkgver.tar.bz2")
md5sums=('156ffad5b7193e0cfecd2d3689f3a7a4')
build() {
cd $srcdir/$pkgname-$pkgver
qmake-qt5 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
}