aboutsummaryrefslogtreecommitdiffstats
path: root/testing/texmaker/APKBUILD
blob: 859fb1d284daae4a45e0af89360022d83a148b42 (plain)
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.4
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="34ff5773358c2fffbc9e7e61028cd74eef231152e3483531b66cb0d907dd8f70a4e8b6d6ea09b0b11387b592f6d1676ba8a1e737b26c86a45b16882e53edff1f  texmaker-5.0.4.tar.bz2"