[arch-commits] Commit in gom/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 05:40:13 UTC 2019


    Date: Saturday, October 26, 2019 @ 05:40:13
  Author: foutrelis
Revision: 365802

archrelease: copy trunk to staging-x86_64

Added:
  gom/repos/staging-x86_64/
  gom/repos/staging-x86_64/PKGBUILD
    (from rev 365801, gom/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: gom/repos/staging-x86_64/PKGBUILD (from rev 365801, gom/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-10-26 05:40:13 UTC (rev 365802)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gom
+pkgver=0.3.3
+pkgrel=3
+pkgdesc="A GObject to SQLite object mapper"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/Gom"
+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")
+sha256sums=('SKIP')
+ 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  cd $pkgname
+}
+
+build() {
+  cd build
+  meson setup --prefix=/usr --buildtype=release -Denable-gtk-doc=true ../$pkgname
+  ninja
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list