blob: ba3c4800266c7950bcc0c26e041d390c823a3e73 (
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
30
31
32
33
34
35
36
37
|
# Maintainer: Marco Scarpetta <marcoscarpetta02@gmail.com>
pkgname=pdfmixtool-git
pkgver=r601.3b3f7a4
pkgrel=1
pkgdesc='An application to perform common editing operations on PDF files'
arch=('i686' 'x86_64')
url='https://www.scarpetta.eu/pdfmixtool'
license=('GPL')
depends=('qt6-base' 'qt6-svg' 'qpdf' 'imagemagick' 'poppler-qt6')
makedepends=('git' 'cmake' 'qt6-tools')
conflicts=(pdfmixtool)
provides=(pdfmixtool)
source=("git+https://gitlab.com/scarpetta/pdfmixtool.git")
sha256sums=('SKIP')
pkgver() {
cd pdfmixtool
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
[[ -d build ]] || mkdir build
}
build() {
cd build
cmake -G "Unix Makefiles" ../pdfmixtool/ \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|