Date: Thursday, November 3, 2022 @ 22:04:34
  Author: arojas
Revision: 1341725

archrelease: copy trunk to community-staging-x86_64

Added:
  amtk/repos/community-staging-x86_64/
  amtk/repos/community-staging-x86_64/PKGBUILD
    (from rev 1341724, amtk/trunk/PKGBUILD)

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

Copied: amtk/repos/community-staging-x86_64/PKGBUILD (from rev 1341724, 
amtk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-03 22:04:34 UTC (rev 1341725)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=amtk
+pkgver=5.6.0
+pkgrel=1
+pkgdesc="Actions, Menus and Toolbars Kit for GTK applications"
+url="https://gitlab.gnome.org/World/amtk";
+arch=(x86_64)
+license=(LGPL3)
+depends=(gtk3)
+makedepends=(meson git gobject-introspection gtk-doc)
+options=(debug)
+_commit=2664f5141f097b3df0215454e1aca677a44f1cb4
+source=("git+https://gitlab.gnome.org/World/amtk.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd amtk
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd amtk
+}
+
+build() {
+  arch-meson amtk build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libg{lib,object,io}-2.0.so libgtk-3.so)
+  provides+=("libamtk-${pkgver%%.*}.so")
+
+  meson install -C build --destdir "$pkgdir"
+}

Reply via email to