summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7546d2727c231a5dd2e69bdb5f8ceb00a7b70b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Victor Tran <vicr12345 at gmail dot com>
pkgname=thepage
pkgver=2.0.1
pkgrel=1
pkgdesc="Document Viewer using poppler"
arch=("x86_64" "aarch64")
url="https://github.com/theCheeseboard/thepage"
license=('GPL3')
depends=('libcontemporary' 'poppler-qt6')
makedepends=('git' 'qt6-tools' 'cmake' 'clang')
source=("thepage-$pkgver"::"https://github.com/theCheeseboard/thepage/archive/v$pkgver.tar.gz")
sha256sums=('e010d58e50db25ed33ca56e45fc164226772a5383ecf0b271e4bb9fb2cc08fe0')

build() {
	cmake -B build -S "thePage-$pkgver" \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install "build"
}