Date: Thursday, January 16, 2014 @ 20:02:13 Author: flexiondotorg Revision: 104272
Added mate-system-tools Added: mate-system-tools/ mate-system-tools/repos/ mate-system-tools/trunk/ mate-system-tools/trunk/PKGBUILD mate-system-tools/trunk/mate-system-tools.install ---------------------------+ PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++ mate-system-tools.install | 12 ++++++++++ 2 files changed, 61 insertions(+) Added: mate-system-tools/trunk/PKGBUILD =================================================================== --- mate-system-tools/trunk/PKGBUILD (rev 0) +++ mate-system-tools/trunk/PKGBUILD 2014-01-16 19:02:13 UTC (rev 104272) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer : Martin Wimpress <c...@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sni...@gmail.com> + +pkgname=mate-system-tools +pkgver=1.6.0 +pkgrel=8 +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') +groups=('mate-extra') +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 + #rm -f "${pkgdir}/usr/lib/caja/extensions-2.0/libcaja-gst-shares.a" +} Property changes on: mate-system-tools/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: mate-system-tools/trunk/mate-system-tools.install =================================================================== --- mate-system-tools/trunk/mate-system-tools.install (rev 0) +++ mate-system-tools/trunk/mate-system-tools.install 2014-01-16 19:02:13 UTC (rev 104272) @@ -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 +}