Date: Monday, February 17, 2020 @ 19:21:11 Author: heftig Revision: 375760
0.4-1 Modified: gom/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-17 19:08:54 UTC (rev 375759) +++ PKGBUILD 2020-02-17 19:21:11 UTC (rev 375760) @@ -1,8 +1,8 @@ # Maintainer: Jan Alexander Steffens (heftig) <[email protected]> pkgname=gom -pkgver=0.3.3 -pkgrel=4 +pkgver=0.4 +pkgrel=1 pkgdesc="A GObject to SQLite object mapper" arch=(x86_64) url="https://wiki.gnome.org/Projects/Gom" @@ -9,8 +9,9 @@ license=(LGPL2.1) depends=(glib2 sqlite) makedepends=(gtk-doc gobject-introspection gdk-pixbuf2 git meson python-gobject) -_commit=dafdf432ac78f500dcd045092d5d5c28f8e35c60 # tags/0.3.3^0 -source=("git+https://git.gnome.org/browse/gom#commit=$_commit") +provides=(libgom-1.0.so) +_commit=26816b74a29b9d2d8dc169ed2f9649a4a159bc7c # tags/0.4^0 +source=("git+https://gitlab.gnome.org/GNOME/gom.git#commit=$_commit") sha256sums=('SKIP') pkgver() { @@ -19,24 +20,20 @@ } prepare() { - mkdir build cd $pkgname } build() { - cd build - meson setup --prefix=/usr --buildtype=release -Denable-gtk-doc=true ../$pkgname - ninja + arch-meson $pkgname build -D enable-gtk-doc=true + ninja -C build } check() { - cd build - meson test + meson test -C build --print-errorlogs } package() { - cd build - DESTDIR="$pkgdir" ninja install + DESTDIR="$pkgdir" meson install -C build } # vim:set ts=2 sw=2 et:
