[arch-commits] Commit in amtk (3 files)
Balló György
bgyorgy at archlinux.org
Wed Jul 18 16:17:25 UTC 2018
Date: Wednesday, July 18, 2018 @ 16:17:24
Author: bgyorgy
Revision: 362249
archrelease: copy trunk to community-x86_64
Added:
amtk/repos/
amtk/repos/community-x86_64/
amtk/repos/community-x86_64/PKGBUILD
(from rev 362248, amtk/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: amtk/repos/community-x86_64/PKGBUILD (from rev 362248, amtk/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2018-07-18 16:17:24 UTC (rev 362249)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=amtk
+pkgver=5.0.0
+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=6b465f9628f6107f73bdd5faef77c60391713aa0 # tags/5.0.0^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
+ 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
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list