[trunk] -> [extra] 'gcab-1.4-2' add

master
Dudemanguy 2 months ago
parent a89f8d27b4
commit 15819b2ac5
Signed by: Dudemanguy
GPG Key ID: 4003D2EF625D6492
  1. 1
      trunk/PKGBUILD
  2. 39
      x86_64/extra/PKGBUILD

@ -10,6 +10,7 @@ arch=(x86_64)
license=(LGPL)
depends=(glib2)
makedepends=(gobject-introspection vala git gtk-doc meson)
provides=(libgcab-1.0.so)
options=(debug)
_commit=e3f0c240eb1a1961f0ff61a83a2c7fafba95abb4 # tags/v1.4^0
source=("git+https://gitlab.gnome.org/GNOME/gcab.git#commit=$_commit")

@ -0,0 +1,39 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gcab
pkgver=1.4
pkgrel=2
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 git gtk-doc meson)
provides=(libgcab-1.0.so)
options=(debug)
_commit=e3f0c240eb1a1961f0ff61a83a2c7fafba95abb4 # tags/v1.4^0
source=("git+https://gitlab.gnome.org/GNOME/gcab.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd gcab
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd gcab
}
build() {
artix-meson gcab build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
Loading…
Cancel
Save