libhandy: updated meson syntax
This commit is contained in:
parent
f89d280102
commit
a0aa53e85f
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30eEa/rFwBG8pSwUP+s83jpDNTbVtYZFA7hXJJ7ypDStC5ggD9t3L5lk6sriHtvl2numKTSi19josCdx/zR+BgI=
|
||||
SHA256 (Pkgfile) = 1c753b2ee17ce68202fed907d35951d9f1e4ff36de897a147969cbc5b4362c3b
|
||||
RWSagIOpLGJF36YWJ9BHPR5UCg55beRPiKI6QwQfR2c4W/hfyyf6UbF1mMh/sA4JKPS4U08qzS6nHZqDx/gc1JoKQBaV21ejKwM=
|
||||
SHA256 (Pkgfile) = 56031c8eec7863ae59e10f4551631f0bb1c435d48d692759ad034f27fff220f1
|
||||
SHA256 (.footprint) = f02ec7820e1c85b34d4484b6d464b02ea88e498853c3bf9fc6c13e46908abd92
|
||||
SHA256 (libhandy-v0.0.13.tar.bz2) = efeb1a5d019e25a6c6b15fd274974d3db7965362ac30e6d798245946935cacfa
|
||||
|
@ -9,11 +9,17 @@ release=1
|
||||
source=(https://gitlab.gnome.org/GNOME/libhandy/-/archive/v$version/$name-v$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
meson $name-v$version build \
|
||||
# don't build nls files
|
||||
rm -r $name-v$version/po
|
||||
sed -e '143d' -i $name-v$version/meson.build
|
||||
|
||||
meson setup $name-v$version build \
|
||||
--prefix=/usr \
|
||||
--buildtype=plain \
|
||||
-Db_ndebug=true \
|
||||
-Dgtk_doc=false \
|
||||
-Dexamples=false \
|
||||
-Dtests=false
|
||||
ninja -C build
|
||||
meson compile -C build
|
||||
DESTDIR=$PKG meson install -C build
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user