blob: 18ac5be82a56eb0c52298b7d7f459980955ef550 (
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
38
39
|
# Maintainer: Junxuan Liao <mikeljx at 126 dot com>
_pkgname=xournalpp-libadwaita-mockup
pkgname=$_pkgname-git
pkgver=r95.7ad03bd
pkgrel=1
pkgdesc="Mockups for redesiging Xournal++ with Gtk4/Libadwaita"
arch=('any')
url="https://github.com/rolandlo/xournalpp-libadwaita-mockup"
license=('GPL-2.0-only')
depends=(
'gtk4'
'gtksourceview5'
'libadwaita'
'python-gobject'
'poppler-glib'
'python'
)
makedepends=('git' 'meson' 'ninja' 'blueprint-compiler')
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "${_pkgname}"
arch-meson build
meson compile -C build
}
package() {
cd "${_pkgname}"
meson install -C build --destdir "$pkgdir"
chmod 755 "$pkgdir"/usr/bin/xournalpp-demo
}
|