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

master
Dudemanguy 2 months ago
parent 45ae284649
commit 526d9f1a72
Signed by: Dudemanguy
GPG Key ID: 4003D2EF625D6492
  1. 20
      trunk/PKGBUILD
  2. 20
      x86_64/extra/PKGBUILD

@ -1,30 +1,32 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gcab
pkgver=1.4
pkgrel=1.1
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 zlib git gtk-doc meson)
makedepends=(gobject-introspection vala git gtk-doc meson)
options=(debug)
_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'
cd gcab
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
cd gcab
}
build() {
artix-meson $pkgname build
ninja -C build
artix-meson gcab build
meson compile -C build
}
check() {
@ -32,5 +34,5 @@ check() {
}
package() {
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
}

@ -1,30 +1,32 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gcab
pkgver=1.4
pkgrel=1.1
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 zlib git gtk-doc meson)
makedepends=(gobject-introspection vala git gtk-doc meson)
options=(debug)
_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'
cd gcab
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
cd gcab
}
build() {
artix-meson $pkgname build
ninja -C build
artix-meson gcab build
meson compile -C build
}
check() {
@ -32,5 +34,5 @@ check() {
}
package() {
DESTDIR="$pkgdir" meson install -C build
meson install -C build --destdir "$pkgdir"
}

Loading…
Cancel
Save