summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9562b1d663ca4251f9f3bcc11379eaf0e7a8076 (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
# Maintainer: grufo <madmurphy333 AT gmail DOT com>
# Contributor: PedroHLC <root AT pedrohlc DOT com>

pkgname='notejot-git'
_appname='notejot'
pkgver='r975.c7a7866'
pkgrel=1
pkgdesc='A stupidly-simple sticky notes application for any type of short term notes or ideas'
arch=('i686' 'x86_64')
url='https://github.com/lainsce/notejot'
license=('GPL')
depends=('gtk3' 'gtksourceview3' 'json-glib' 'libadwaita' 'libbismuth' 'libgee'
         'libhelium')
makedepends=('meson' 'vala')
provides=('notejot')
conflicts=('notejot')
source=("git+https://github.com/lainsce/${_appname}.git")
sha256sums=('SKIP')

pkgver() {
	cd "${_appname}"
	printf "'r%s.%s'" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "${srcdir}/${_appname}"
	meson build
	cd build
	meson configure -Dprefix=/usr
}

package() {
	cd "${srcdir}/${_appname}/build"
	DESTDIR="${pkgdir}" ninja install
}