new bblfs: dev-util/blueprint-compiler-0.18.0
This commit is contained in:
31
dev-util/blueprint-compiler-0.18.0.PKGBUILD
Normal file
31
dev-util/blueprint-compiler-0.18.0.PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
pkgname=blueprint-compiler
|
||||||
|
pkgver=0.18.0
|
||||||
|
pkgdesc="Compiler for Blueprint, a markup language for GTK user interfaces"
|
||||||
|
homepage="https://gnome.pages.gitlab.gnome.org/blueprint-compiler/ https://gitlab.gnome.org/GNOME/blueprint-compiler/"
|
||||||
|
license=("LGPL-3+")
|
||||||
|
depends=("dev-python/pygobject:3")
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
|
||||||
|
sha512sums=("0f15a0e997ec8edced82053f345abbfa4a77ca77dd5976d39e135c3b8af137f712ce2cb5b33abba7450ff440fb48dcb136186e2e0b7d54d0393d5778e8b19142")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
local meson_args=(
|
||||||
|
--prefix=/usr
|
||||||
|
--buildtype=release
|
||||||
|
--wrap-mode=nodownload
|
||||||
|
-D python.bytecompile=1
|
||||||
|
-D docs=false
|
||||||
|
)
|
||||||
|
meson setup build "${meson_args[@]}"
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson install -C build --destdir "$pkgdir" --no-rebuild
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:ft=sh syn=sh et sw=2:
|
||||||
Reference in New Issue
Block a user