[arch-commits] Commit in cinnamon-control-center/repos (6 files)

Alexandre Filgueira faidoc at archlinux.org
Sat Nov 1 18:55:10 UTC 2014


    Date: Saturday, November 1, 2014 @ 19:55:10
  Author: faidoc
Revision: 121671

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  cinnamon-control-center/repos/community-staging-i686/
  cinnamon-control-center/repos/community-staging-i686/PKGBUILD
    (from rev 121670, cinnamon-control-center/trunk/PKGBUILD)
  cinnamon-control-center/repos/community-staging-i686/cinnamon-control-center.install
    (from rev 121670, cinnamon-control-center/trunk/cinnamon-control-center.install)
  cinnamon-control-center/repos/community-staging-x86_64/
  cinnamon-control-center/repos/community-staging-x86_64/PKGBUILD
    (from rev 121670, cinnamon-control-center/trunk/PKGBUILD)
  cinnamon-control-center/repos/community-staging-x86_64/cinnamon-control-center.install
    (from rev 121670, cinnamon-control-center/trunk/cinnamon-control-center.install)

----------------------------------------------------------+
 community-staging-i686/PKGBUILD                          |   56 +++++++++++++
 community-staging-i686/cinnamon-control-center.install   |   11 ++
 community-staging-x86_64/PKGBUILD                        |   56 +++++++++++++
 community-staging-x86_64/cinnamon-control-center.install |   11 ++
 4 files changed, 134 insertions(+)

Copied: cinnamon-control-center/repos/community-staging-i686/PKGBUILD (from rev 121670, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-11-01 18:55:10 UTC (rev 121671)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Based on gnome-control-center:
+# Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Jan de Groot <jgc at archlinux.org>
+
+pkgname=cinnamon-control-center
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="The Control Center for Cinnamon"
+arch=('i686' 'x86_64')
+depends=('cinnamon-settings-daemon' 'cinnamon-translations' 'cinnamon-menus'
+         'libgnomekbd' 'network-manager-applet')
+optdepends=('gnome-color-manager: for color management tasks')
+makedepends=('intltool' 'gnome-common' 'docbook-xsl')
+url="https://github.com/linuxmint/cinnamon-control-center"
+install=cinnamon-control-center.install
+license=('GPL')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz")
+sha256sums=('8ba2ac2061ce6ac5f57c717089a440079513d0617e2df77cc8e85b801cf502e5')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --enable-systemd \
+      --disable-update-mimedb
+
+  #https://bugzilla.gnome.org/show_bug.cgi?id=656229
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  # Remove unused stuff
+  make -C panels/sound DESTDIR="$pkgdir" uninstall
+  make -C panels/sound/data DESTDIR="$pkgdir" install
+  make -C shell DESTDIR="$pkgdir" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
+  rm "$pkgdir"/usr/share/applications/cinnamon-{control-center,datetime-panel,region-panel,sound-panel}.desktop
+  rm -R "$pkgdir/etc"
+
+  # Fix a warning
+  chown 102:0 "$pkgdir/usr/share/polkit-1/rules.d"
+  chmod 700 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Copied: cinnamon-control-center/repos/community-staging-i686/cinnamon-control-center.install (from rev 121670, cinnamon-control-center/trunk/cinnamon-control-center.install)
===================================================================
--- community-staging-i686/cinnamon-control-center.install	                        (rev 0)
+++ community-staging-i686/cinnamon-control-center.install	2014-11-01 18:55:10 UTC (rev 121671)
@@ -0,0 +1,11 @@
+post_install() {
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    post_install $1
+}
\ No newline at end of file

Copied: cinnamon-control-center/repos/community-staging-x86_64/PKGBUILD (from rev 121670, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-11-01 18:55:10 UTC (rev 121671)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Based on gnome-control-center:
+# Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Jan de Groot <jgc at archlinux.org>
+
+pkgname=cinnamon-control-center
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="The Control Center for Cinnamon"
+arch=('i686' 'x86_64')
+depends=('cinnamon-settings-daemon' 'cinnamon-translations' 'cinnamon-menus'
+         'libgnomekbd' 'network-manager-applet')
+optdepends=('gnome-color-manager: for color management tasks')
+makedepends=('intltool' 'gnome-common' 'docbook-xsl')
+url="https://github.com/linuxmint/cinnamon-control-center"
+install=cinnamon-control-center.install
+license=('GPL')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz")
+sha256sums=('8ba2ac2061ce6ac5f57c717089a440079513d0617e2df77cc8e85b801cf502e5')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --enable-systemd \
+      --disable-update-mimedb
+
+  #https://bugzilla.gnome.org/show_bug.cgi?id=656229
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  # Remove unused stuff
+  make -C panels/sound DESTDIR="$pkgdir" uninstall
+  make -C panels/sound/data DESTDIR="$pkgdir" install
+  make -C shell DESTDIR="$pkgdir" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
+  rm "$pkgdir"/usr/share/applications/cinnamon-{control-center,datetime-panel,region-panel,sound-panel}.desktop
+  rm -R "$pkgdir/etc"
+
+  # Fix a warning
+  chown 102:0 "$pkgdir/usr/share/polkit-1/rules.d"
+  chmod 700 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Copied: cinnamon-control-center/repos/community-staging-x86_64/cinnamon-control-center.install (from rev 121670, cinnamon-control-center/trunk/cinnamon-control-center.install)
===================================================================
--- community-staging-x86_64/cinnamon-control-center.install	                        (rev 0)
+++ community-staging-x86_64/cinnamon-control-center.install	2014-11-01 18:55:10 UTC (rev 121671)
@@ -0,0 +1,11 @@
+post_install() {
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install $1
+}
+
+post_remove() {
+    post_install $1
+}
\ No newline at end of file


More information about the arch-commits mailing list