Date: Tuesday, November 22, 2022 @ 22:42:49
  Author: arojas
Revision: 1351919

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: amtk/repos/community-staging-x86_64/PKGBUILD (from rev 1351918, 
amtk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-22 22:42:49 UTC (rev 1351919)
@@ -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.1
+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=f0029cf75ec416159079a27b578b9253a04b1c5a
+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