[arch-commits] Commit in mate-system-tools/repos (6 files)
Martin Wimpress
flexiondotorg at nymeria.archlinux.org
Thu Jan 30 17:37:50 UTC 2014
Date: Thursday, January 30, 2014 @ 18:37:49
Author: flexiondotorg
Revision: 105049
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mate-system-tools/repos/community-staging-i686/
mate-system-tools/repos/community-staging-i686/PKGBUILD
(from rev 105048, mate-system-tools/trunk/PKGBUILD)
mate-system-tools/repos/community-staging-i686/mate-system-tools.install
(from rev 105048, mate-system-tools/trunk/mate-system-tools.install)
mate-system-tools/repos/community-staging-x86_64/
mate-system-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 105048, mate-system-tools/trunk/PKGBUILD)
mate-system-tools/repos/community-staging-x86_64/mate-system-tools.install
(from rev 105048, mate-system-tools/trunk/mate-system-tools.install)
----------------------------------------------------+
community-staging-i686/PKGBUILD | 45 +++++++++++++++++++
community-staging-i686/mate-system-tools.install | 12 +++++
community-staging-x86_64/PKGBUILD | 45 +++++++++++++++++++
community-staging-x86_64/mate-system-tools.install | 12 +++++
4 files changed, 114 insertions(+)
Copied: mate-system-tools/repos/community-staging-i686/PKGBUILD (from rev 105048, mate-system-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-01-30 17:37:49 UTC (rev 105049)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=mate-system-tools
+pkgver=1.6.0
+pkgrel=9
+pkgdesc="Suite of tools for MATE to simplify configuring workstations."
+url="http://mate-desktop.org/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dconf' 'gtk2' 'liboobs' 'mate-polkit' 'system-tools-backends'
+ 'wireless_tools')
+makedepends=('mate-common' 'mate-doc-utils' 'mate-file-manager' 'perl-xml-parser')
+optdepends=('ntp: Automatic time synchronisation.'
+ 'mate-file-manager: provides Caja Shares extension')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('89d53c22171f6181ad4fb89387d4fa3300bb27b2')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # Modify the groups for Arch
+ # - https://wiki.archlinux.org/index.php/Users_and_Groups
+ # - https://wiki.archlinux.org/index.php/Systemd#Supplementary_information
+ # - https://bbs.archlinux.org/viewtopic.php?pid=1183332
+ # Desktop user
+ sed -i 's/cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,audio,scanner,fuse,video/adm,log,sys,users,uucp/' src/users/user-profiles.conf.in
+ # Administrator
+ sed -i 's/cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,audio,scanner,fuse,admin,sambashare,lpadmin,video/adm,disk,locate,log,sys,users,uucp,wheel/' src/users/user-profiles.conf.in
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-scrollkeeper \
+ LIBS="-lm" # Required for MATE 1.6 but can be removed in MATE 1.7/1.8
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-system-tools/repos/community-staging-i686/mate-system-tools.install (from rev 105048, mate-system-tools/trunk/mate-system-tools.install)
===================================================================
--- community-staging-i686/mate-system-tools.install (rev 0)
+++ community-staging-i686/mate-system-tools.install 2014-01-30 17:37:49 UTC (rev 105049)
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ gtk-update-icon-cache -q -t -f /usr/share/icons/mate
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: mate-system-tools/repos/community-staging-x86_64/PKGBUILD (from rev 105048, mate-system-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-01-30 17:37:49 UTC (rev 105049)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=mate-system-tools
+pkgver=1.6.0
+pkgrel=9
+pkgdesc="Suite of tools for MATE to simplify configuring workstations."
+url="http://mate-desktop.org/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dconf' 'gtk2' 'liboobs' 'mate-polkit' 'system-tools-backends'
+ 'wireless_tools')
+makedepends=('mate-common' 'mate-doc-utils' 'mate-file-manager' 'perl-xml-parser')
+optdepends=('ntp: Automatic time synchronisation.'
+ 'mate-file-manager: provides Caja Shares extension')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('89d53c22171f6181ad4fb89387d4fa3300bb27b2')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # Modify the groups for Arch
+ # - https://wiki.archlinux.org/index.php/Users_and_Groups
+ # - https://wiki.archlinux.org/index.php/Systemd#Supplementary_information
+ # - https://bbs.archlinux.org/viewtopic.php?pid=1183332
+ # Desktop user
+ sed -i 's/cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,audio,scanner,fuse,video/adm,log,sys,users,uucp/' src/users/user-profiles.conf.in
+ # Administrator
+ sed -i 's/cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,audio,scanner,fuse,admin,sambashare,lpadmin,video/adm,disk,locate,log,sys,users,uucp,wheel/' src/users/user-profiles.conf.in
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-scrollkeeper \
+ LIBS="-lm" # Required for MATE 1.6 but can be removed in MATE 1.7/1.8
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-system-tools/repos/community-staging-x86_64/mate-system-tools.install (from rev 105048, mate-system-tools/trunk/mate-system-tools.install)
===================================================================
--- community-staging-x86_64/mate-system-tools.install (rev 0)
+++ community-staging-x86_64/mate-system-tools.install 2014-01-30 17:37:49 UTC (rev 105049)
@@ -0,0 +1,12 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ gtk-update-icon-cache -q -t -f /usr/share/icons/mate
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list