[arch-commits] Commit in mx/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:29:04 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:29:03
  Author: felixonmars
Revision: 658478

archrelease: copy trunk to community-staging-x86_64

Added:
  mx/repos/community-staging-x86_64/
  mx/repos/community-staging-x86_64/PKGBUILD
    (from rev 658476, mx/trunk/PKGBUILD)

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

Copied: mx/repos/community-staging-x86_64/PKGBUILD (from rev 658476, mx/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:29:03 UTC (rev 658478)
@@ -0,0 +1,38 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: GGR <gaby.greboval at yahoo dot com>
+
+pkgname=mx
+pkgver=1.4.7+13+g24efb0cc
+pkgrel=3
+pkgdesc="A widget toolkit using Clutter"
+arch=('x86_64')
+url="http://www.clutter-project.org"
+license=('LGPL')
+depends=('clutter' 'dbus-glib' 'gtk2' 'startup-notification')
+makedepends=('gobject-introspection' 'gtk-doc' 'intltool' 'libtool' 'vala' git)
+_commit=24efb0cc16007bee02d3b077e8e11cfb5747b256  # mx-1.4
+source=("git+https://github.com/clutter-project/mx#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+    cd "${srcdir}/$pkgname"
+    NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+    cd "${srcdir}/$pkgname"
+    ./configure \
+        --prefix=/usr
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+    make
+}
+
+package() {
+    cd "${srcdir}/$pkgname"
+    make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list