[arch-commits] Commit in gnome-autoar/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Aug 10 19:22:16 UTC 2021
Date: Tuesday, August 10, 2021 @ 19:22:16
Author: heftig
Revision: 421301
0.4.0-1
Modified:
gnome-autoar/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-10 18:52:30 UTC (rev 421300)
+++ PKGBUILD 2021-08-10 19:22:16 UTC (rev 421301)
@@ -2,7 +2,7 @@
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-autoar
-pkgver=0.3.3
+pkgver=0.4.0
pkgrel=1
pkgdesc="Automatic archives creating and extracting library"
url="https://wiki.gnome.org/TingweiLan/GSoC2013Final"
@@ -9,8 +9,8 @@
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
+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')
@@ -21,17 +21,20 @@
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
+ 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() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ meson install -C build --destdir "$pkgdir"
}
More information about the arch-commits
mailing list