Commit 5fe2c424 authored by Chaoting Liu's avatar Chaoting Liu

[skip-ci] gcab: import as appstream-glib dependency

parent b000d423
Pipeline #3250 skipped
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gcab
pkgver=1.2
pkgrel=1
pkgdesc="A GObject library to create cabinet files"
url="https://wiki.gnome.org/msitools"
arch=(x86_64)
license=(LGPL)
depends=(glib2)
makedepends=(gobject-introspection vala zlib git gtk-doc meson)
_commit=8484568d2e5b55a87cb6d6925ccb2f655159cf99 # tags/v1.2^0
source=("git+https://gitlab.gnome.org/GNOME/gcab.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd $pkgname
cd libgcab
sed 's,é,e,g' -i *
}
build() {
chakra-meson $pkgname build
ninja -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment