Date: Monday, July 18, 2022 @ 18:52:29 Author: heftig Revision: 451438
archrelease: copy trunk to extra-x86_64 Added: gcab/repos/extra-x86_64/PKGBUILD (from rev 451437, gcab/trunk/PKGBUILD) Deleted: gcab/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 75 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 39 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-18 18:48:04 UTC (rev 451437) +++ PKGBUILD 2022-07-18 18:52:29 UTC (rev 451438) @@ -1,36 +0,0 @@ -# Maintainer: Jan de Groot <j...@archlinux.org> - -pkgname=gcab -pkgver=1.4 -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=e3f0c240eb1a1961f0ff61a83a2c7fafba95abb4 # tags/v1.4^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 -} - -build() { - arch-meson $pkgname build - ninja -C build -} - -check() { - meson test -C build --print-errorlogs -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} Copied: gcab/repos/extra-x86_64/PKGBUILD (from rev 451437, gcab/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-18 18:52:29 UTC (rev 451438) @@ -0,0 +1,39 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Jan de Groot <j...@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() { + arch-meson gcab build + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + meson install -C build --destdir "$pkgdir" +}