[arch-commits] Commit in mate-menus/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Feb 8 07:51:43 UTC 2018
Date: Thursday, February 8, 2018 @ 07:51:42
Author: arojas
Revision: 290245
archrelease: copy trunk to community-staging-x86_64
Added:
mate-menus/repos/community-staging-x86_64/
mate-menus/repos/community-staging-x86_64/PKGBUILD
(from rev 290244, mate-menus/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: mate-menus/repos/community-staging-x86_64/PKGBUILD (from rev 290244, mate-menus/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-02-08 07:51:42 UTC (rev 290245)
@@ -0,0 +1,35 @@
+# Maintainer:
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=mate-menus
+pkgver=1.20.0
+pkgrel=1
+pkgdesc="MATE menu specifications"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL' 'LGPL')
+depends=('glib2')
+makedepends=('gobject-introspection' 'intltool' 'python2')
+optdepends=('python2: python2 bindings')
+groups=('mate')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('0fdadb1ba0950c14a72802c8a5afae99c46ca20ef3c7b9f1854bd5a5da3433f0')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-python
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list