[arch-commits] Commit in gom/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Jul 23 08:09:09 UTC 2018
Date: Monday, July 23, 2018 @ 08:09:09
Author: foutrelis
Revision: 329402
archrelease: copy trunk to staging-x86_64
Added:
gom/repos/staging-x86_64/
gom/repos/staging-x86_64/PKGBUILD
(from rev 329401, gom/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: gom/repos/staging-x86_64/PKGBUILD (from rev 329401, gom/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-07-23 08:09:09 UTC (rev 329402)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gom
+pkgver=0.3.3
+pkgrel=2
+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