27 lines
673 B
Plaintext
27 lines
673 B
Plaintext
# Description: A GObject library to create cabinet files
|
|
# URL: https://wiki.gnome.org/msitools
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gobject-introspection
|
|
# Optional: vala
|
|
|
|
name=gcab
|
|
version=1.6
|
|
release=1
|
|
source=(https://gitlab.gnome.org/GNOME/gcab/-/archive/v$version/gcab-v$version.tar.bz2)
|
|
|
|
build() {
|
|
prt-get isinst vala || PKGMK_GCAB+=' -D vapi=false'
|
|
|
|
meson setup $name-v$version build $PKGMK_GCAB \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D docs=false \
|
|
-D nls=false \
|
|
-D tests=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|