[arch-commits] Commit in mozo/repos (3 files)
Martin Wimpress
flexiondotorg at archlinux.org
Tue May 12 10:42:24 UTC 2015
Date: Tuesday, May 12, 2015 @ 12:42:24
Author: flexiondotorg
Revision: 133296
archrelease: copy trunk to community-staging-any
Added:
mozo/repos/community-staging-any/
mozo/repos/community-staging-any/PKGBUILD
(from rev 133295, mozo/trunk/PKGBUILD)
mozo/repos/community-staging-any/mozo.install
(from rev 133295, mozo/trunk/mozo.install)
--------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
mozo.install | 11 +++++++++++
2 files changed, 46 insertions(+)
Copied: mozo/repos/community-staging-any/PKGBUILD (from rev 133295, mozo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-05-12 10:42:24 UTC (rev 133296)
@@ -0,0 +1,35 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.9
+_pkgbase=mozo
+pkgname=${_pkgbase}
+pkgver=${_ver}.90
+pkgrel=1
+pkgdesc="MATE menu editing tool (GTK2 version)"
+url="http://mate-desktop.org"
+arch=('any')
+license=('GPL')
+depends=('mate-menus>=1.10' 'pygtk' 'python2-gobject')
+makedepends=('git' 'mate-common')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("${_pkgbase}"::"git+https://github.com/mate-desktop/${_pkgbase}.git")
+sha1sums=('SKIP')
+install=${_pkgbase}.install
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mozo/repos/community-staging-any/mozo.install (from rev 133295, mozo/trunk/mozo.install)
===================================================================
--- community-staging-any/mozo.install (rev 0)
+++ community-staging-any/mozo.install 2015-05-12 10:42:24 UTC (rev 133296)
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list