Commit f7ee6825 authored by thebitstick's avatar thebitstick Committed by thebitstick
Browse files

build(PKGBUILD): add PKGBUILD for AUR

parent 4957fc59
# 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
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment