APKBUILD 863 Bytes
Newer Older
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="texmaker"
pkgver="5.0.3"
pkgrel=0
pkgdesc="Free cross-platform LaTeX editor since 2003"
url="https://www.xm1math.net/texmaker/index.html"
arch="all"
license="GPL"
depends="desktop-file-utils"
makedepends="qt5-qttools-dev qt5-qtbase-dev qt5-qtscript-dev poppler-qt5"
source="https://www.xm1math.net/texmaker/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	qmake-qt5 PREFIX=/usr texmaker.pro
	make
}

check() {
	make check
}

package() {
	mkdir -p "$pkgdir/usr/share"
	make INSTALL_PATH="$pkgdir" INSTALL_ROOT="$pkgdir" PREFIX="/usr" install
}

sha512sums="fed09b1ac628f4a8cab24257f2ca35093f20a82d1a3b8c38d12878ff94f0933b7449e5ba651831612b62417426396327ea8ba64e830fe0537757abe65bcd5284  texmaker-5.0.3.tar.bz2"