Date: Thursday, March 15, 2018 @ 08:12:05
  Author: heftig
Revision: 319285

0.6-1

Modified:
  libgepub/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-15 08:10:19 UTC (rev 319284)
+++ PKGBUILD    2018-03-15 08:12:05 UTC (rev 319285)
@@ -2,16 +2,16 @@
 # Maintainer: Jan de Groot <[email protected]>
 
 pkgname=libgepub
-pkgver=0.5.2
+pkgver=0.6
 pkgrel=1
 pkgdesc="Simple library to read epub files using glib"
-url="https://git.gnome.org/browse/libgepub";
+url="https://gitlab.gnome.org/GNOME/libgepub";
 arch=(x86_64)
 license=(LGPL)
 depends=(webkit2gtk libarchive)
 makedepends=(git gtk-doc gobject-introspection meson)
-_commit=5a11b8cf296712ed27d5aa7c19ed2862ee4ffcf3  # tags/0.5.2^0
-source=("git+https://git.gnome.org/browse/libgepub#commit=$_commit";)
+_commit=59067dedefda23f9a7297ae147c8c02c56338144  # tags/0.6^0
+source=("git+https://gitlab.gnome.org/GNOME/libgepub.git#commit=$_commit";)
 sha256sums=('SKIP')
 
 pkgver() {
@@ -20,22 +20,19 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
 }
 
 build() {
-  cd build
-  meson --prefix=/usr --buildtype=release ../$pkgname
-  ninja
+  arch-meson $pkgname build
+  ninja -C build
 }
 
 check() {
   cd build
-  mesontest
+  meson test
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
 }

Reply via email to