Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=blueprint-compiler-git
- pkgver=0.4.0.r18.gbc15ac9
- pkgrel=1
- pkgdesc="A markup language for GTK user interfaces"
- arch=('any')
- url="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler"
- license=('LGPL3')
- depends=('gtk4' 'python-gobject' 'gobject-introspection')
- makedepends=('git' 'meson')
- provides=("${pkgname%-git}")
- conflicts=("${pkgname%-git}")
- source=("${pkgname%-git}::git+https://gitlab.gnome.org/jwestman/blueprint-compiler.git")
- sha256sums=('SKIP')
- pkgver() {
- cd "${pkgname%-git}"
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
- }
- build() {
- local meson_options=(
- --libdir=lib
- )
- arch-meson ${pkgname%-git} build "${meson_options[@]}"
- meson compile -C build
- }
- check() {
- meson test -C build --print-errorlogs || :
- }
- package() {
- meson install -C build --destdir "$pkgdir"
- }
Advertisement
Add Comment
Please, Sign In to add comment