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

Felix Yan felixonmars at archlinux.org
Sat May 16 09:12:29 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:12:29
  Author: felixonmars
Revision: 383791

archrelease: copy trunk to staging-x86_64

Added:
  atkmm/repos/staging-x86_64/
  atkmm/repos/staging-x86_64/PKGBUILD
    (from rev 383789, atkmm/trunk/PKGBUILD)

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

Copied: atkmm/repos/staging-x86_64/PKGBUILD (from rev 383789, atkmm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:12:29 UTC (rev 383791)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=atkmm
+pkgname=(atkmm atkmm-docs)
+pkgver=2.28.0
+pkgrel=2
+pkgdesc="C++ bindings for ATK"
+url="https://www.gtkmm.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(atk glibmm)
+makedepends=(git mm-common perl glibmm-docs)
+_commit=e1f4d5394a7982cc3c82ca63676a2928cd8819c1  # tags/2.28.0^0
+source=("git+https://gitlab.gnome.org/GNOME/atkmm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgbase
+  ./configure --prefix=/usr --enable-maintainer-mode
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_atkmm() {
+  cd $pkgbase
+  sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+  make DESTDIR="$pkgdir" install
+}
+
+package_atkmm-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  cd $pkgbase
+  make -C doc DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list