Date: Tuesday, August 10, 2021 @ 19:23:49 Author: heftig Revision: 421302
archrelease: copy trunk to extra-x86_64 Added: gnome-autoar/repos/extra-x86_64/PKGBUILD (from rev 421301, gnome-autoar/trunk/PKGBUILD) Deleted: gnome-autoar/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 77 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 40 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-10 19:22:16 UTC (rev 421301) +++ PKGBUILD 2021-08-10 19:23:49 UTC (rev 421302) @@ -1,37 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> -# Contributor: Jan de Groot <j...@archlinux.org> - -pkgname=gnome-autoar -pkgver=0.3.3 -pkgrel=1 -pkgdesc="Automatic archives creating and extracting library" -url="https://wiki.gnome.org/TingweiLan/GSoC2013Final" -arch=(x86_64) -license=(LGPL) -depends=(glib2 libarchive gtk3) -makedepends=(git gobject-introspection gtk-doc vala autoconf-archive) -_commit=87e278ef077b4952595cf9d6e973e6d8246f20b3 # tags/0.3.3^0 -source=("git+https://gitlab.gnome.org/GNOME/gnome-autoar.git#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $pkgname - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd $pkgname - ./configure --prefix=/usr --enable-gtk-doc - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - cd $pkgname - make DESTDIR="$pkgdir" install -} Copied: gnome-autoar/repos/extra-x86_64/PKGBUILD (from rev 421301, gnome-autoar/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-10 19:23:49 UTC (rev 421302) @@ -0,0 +1,40 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gnome-autoar +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Automatic archives creating and extracting library" +url="https://wiki.gnome.org/TingweiLan/GSoC2013Final" +arch=(x86_64) +license=(LGPL) +depends=(glib2 libarchive gtk3) +makedepends=(git gobject-introspection gtk-doc vala meson) +_commit=801ac0f565999697447628584e42d772b2b91fae # tags/0.4.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-autoar.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build \ + -D gtk_doc=true \ + -D tests=true \ + -D vapi=true + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + meson install -C build --destdir "$pkgdir" +}