desktop/texmaker/PKGBUILD
2017-11-02 22:02:45 +01:00

27 lines
789 B
Bash

pkgname=texmaker
pkgver=5.0.1
pkgrel=2
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=('fed8f8bbc73a46bb6aae1a43b63b5787')
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
}