summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e2164fe179a79b10006ee96b75d4f68d9110fae (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
# Maintainer: TheBitStick <thebitstick@tfwno.gf>
pkgname=journable-git
_pkgname=journable
pkgver=0.1.1.r1.4957fc5
pkgrel=1
pkgdesc="A simple bullet journal."
arch=(any)
url="https://gitlab.gnome.org/BjoernDaase/journable"
license=('GPL3')
depends=('gtk3' 'appstream-glib' 'python')
makedepends=('git' 'meson' 'cmake')
checkdepends=()
optdepends=()
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
backup=()
options=()
source=("git+${url}.git")
md5sums=('SKIP')

pkgver() {
	cd ${_pkgname}
	git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}

build() {
	meson --prefix=/usr --buildtype=plain journable build
	ninja -C build
}

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