diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-17 03:43:05 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-17 03:43:05 +0000 |
commit | 953eead14ccfe47904e73cee9cea6e1255f57356 (patch) | |
tree | 8727303ca854032eb046995d052805c969755f30 /community/mate-system-tools | |
parent | b296a78e1469d58c52acc47586bd5bb84f25fc0f (diff) |
Fri Jan 17 03:37:47 UTC 2014
Diffstat (limited to 'community/mate-system-tools')
-rw-r--r-- | community/mate-system-tools/PKGBUILD | 49 | ||||
-rw-r--r-- | community/mate-system-tools/mate-system-tools.install | 12 |
2 files changed, 61 insertions, 0 deletions
diff --git a/community/mate-system-tools/PKGBUILD b/community/mate-system-tools/PKGBUILD new file mode 100644 index 000000000..55f89914e --- /dev/null +++ b/community/mate-system-tools/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 104274 2014-01-16 19:22:48Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@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" +} diff --git a/community/mate-system-tools/mate-system-tools.install b/community/mate-system-tools/mate-system-tools.install new file mode 100644 index 000000000..d6813b0f7 --- /dev/null +++ b/community/mate-system-tools/mate-system-tools.install @@ -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 +} |