[arch-commits] Commit in libhandy (3 files)

Balló György bgyorgy at archlinux.org
Sat Dec 15 10:22:50 UTC 2018


    Date: Saturday, December 15, 2018 @ 10:22:49
  Author: bgyorgy
Revision: 416358

archrelease: copy trunk to community-x86_64

Added:
  libhandy/repos/
  libhandy/repos/community-x86_64/
  libhandy/repos/community-x86_64/PKGBUILD
    (from rev 416357, libhandy/trunk/PKGBUILD)

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

Copied: libhandy/repos/community-x86_64/PKGBUILD (from rev 416357, libhandy/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2018-12-15 10:22:49 UTC (rev 416358)
@@ -0,0 +1,29 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=libhandy
+pkgver=0.0.5
+pkgrel=2
+pkgdesc="Library full of GTK+ widgets for mobile phones"
+arch=(x86_64)
+url="https://source.puri.sm/Librem5/libhandy"
+license=(LGPL2.1)
+depends=(gtk3)
+makedepends=(git glade gobject-introspection meson vala)
+_commit=9c99704e4cc02d8aff8c03ebd583197677f67e52  # tags/v0.0.5^0
+source=("git+https://source.puri.sm/Librem5/libhandy.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  arch-meson $pkgname build -Dgtk_doc=true
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+  rm -r "$pkgdir"/usr/{bin,subdir}
+}



More information about the arch-commits mailing list