[arch-commits] Commit in amtk/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Sep 13 09:41:30 UTC 2019


    Date: Friday, September 13, 2019 @ 09:41:30
  Author: heftig
Revision: 362468

archrelease: copy trunk to extra-x86_64

Added:
  amtk/repos/extra-x86_64/PKGBUILD
    (from rev 362467, amtk/trunk/PKGBUILD)
Deleted:
  amtk/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 45 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-13 09:41:19 UTC (rev 362467)
+++ PKGBUILD	2019-09-13 09:41:30 UTC (rev 362468)
@@ -1,25 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=amtk
-pkgver=5.0.0
-pkgrel=2
-pkgdesc="Actions, Menus and Toolbars Kit for GTK+ applications"
-arch=(x86_64)
-url="https://wiki.gnome.org/Projects/Amtk"
-license=(LGPL2.1)
-depends=(gtk3)
-makedepends=(autoconf-archive git gobject-introspection gtk-doc)
-source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
-sha256sums=('12a996978a30b7b69a810ac0c5656d5cf2f58d9787b98a0c028ff1b64e8f31ff')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --enable-gtk-doc --disable-Werror
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: amtk/repos/extra-x86_64/PKGBUILD (from rev 362467, amtk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-13 09:41:30 UTC (rev 362468)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=amtk
+pkgver=5.0.1
+pkgrel=1
+pkgdesc="Actions, Menus and Toolbars Kit for GTK+ applications"
+arch=(x86_64)
+url="https://wiki.gnome.org/Projects/Amtk"
+license=(LGPL2.1)
+depends=(gtk3)
+makedepends=(autoconf-archive git gobject-introspection gtk-doc)
+_commit=4299cc5a24c013f0f4b4cda9cde8b2d288d0ee5f  # tags/5.0.1^0
+source=("git+https://gitlab.gnome.org/GNOME/amtk.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+
+  # Our autoconf-archive is too new (AX_CODE_COVERAGE changed API in v28)
+  find -name Makefile.am -exec sed -i '/@CODE_COVERAGE_RULES@/d' {} +
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --enable-gtk-doc --disable-Werror
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  make -C $pkgname check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list