summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6cd2cee1615662948fbd2a4db1a44de0be69246 (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: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com>

_pkgname="blueprint-compiler"
pkgname="blueprint-compiler-health"
_commit="93f2a27e35905420e70bfdb5c2f04d6af43b357d"
_pkgver=0.8.1
pkgver="${_pkgver}+$(echo ${_commit} | cut -c 1-8)"
pkgrel=1
_ns=jwestman
pkgdesc='A markup language for GTK user interfaces'
url="https://${_ns}.pages.gitlab.gnome.org/${_pkgname}"
license=(LGPL)
arch=(any)
depends=(
  python-gobject
)
makedepends=(
  # git
  meson
)
_repo_url="https://gitlab.gnome.org/${_ns}/${_pkgname}"
source=(
  # "git+${_repo_url}#commit=${_commit}")
  "${_repo_url}/-/archive/${_commit}/${_pkgname}-${_commit}.tar.gz"
)
sha256sums=(
  'SKIP'
)

build() {
  arch-meson "${_pkgname}-${_commit}" build --prefix=/usr
  meson compile -C build
}

package() {
  provides=("${_pkgname}=${pkgver}")
  conflicts=("${_pkgname}")
  meson install -C build --destdir "${pkgdir}"
}