blob: 1e4a6e029e5b59e1c33dcc61ac56f0caa1270704 (
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
|
# Maintainer: Peter K. Moss <peter@moss.dk>
pkgname=qmarkdown-git
pkgver=r170.044f179
pkgrel=1
pkgdesc="qMarkdown - minimal markdown viewer"
arch=("x86_64")
url="https://github.com/Peterkmoss/qmarkdown"
license=('GPL')
depends=('qt6-base>=6.3.0' 'qt6-webengine>=6.3.0' 'qt6-webchannel>=6.3.0')
optdepends=('ttf-roboto')
makedepends=('git' 'cmake>=3.1.0')
provides=('qmarkdown')
conflicts=('qmarkdown')
source=('git+https://github.com/Peterkmoss/qmarkdown')
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname%-git}"
cmake .
make
}
package() {
cd "${pkgname%-git}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
|