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

Alexandre Filgueira faidoc at archlinux.org
Mon Apr 25 20:02:34 UTC 2016


    Date: Monday, April 25, 2016 @ 22:02:33
  Author: faidoc
Revision: 171828

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 171827, cinnamon-control-center/trunk/PKGBUILD)
  cinnamon-control-center/repos/community-staging-i686/cinnamon-control-center.install
    (from rev 171827, 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 171827, cinnamon-control-center/trunk/PKGBUILD)
  cinnamon-control-center/repos/community-staging-x86_64/cinnamon-control-center.install
    (from rev 171827, cinnamon-control-center/trunk/cinnamon-control-center.install)

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

Copied: cinnamon-control-center/repos/community-staging-i686/PKGBUILD (from rev 171827, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-04-25 20:02:33 UTC (rev 171828)
@@ -0,0 +1,52 @@
+# $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=3.0.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=('9bdb53699d5863c32cdfc329eff0113b888a193c58d5c1ff786a2ba70d5068fb')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --enable-systemd
+
+  #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"
+
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Copied: cinnamon-control-center/repos/community-staging-i686/cinnamon-control-center.install (from rev 171827, cinnamon-control-center/trunk/cinnamon-control-center.install)
===================================================================
--- community-staging-i686/cinnamon-control-center.install	                        (rev 0)
+++ community-staging-i686/cinnamon-control-center.install	2016-04-25 20:02:33 UTC (rev 171828)
@@ -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 171827, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-04-25 20:02:33 UTC (rev 171828)
@@ -0,0 +1,52 @@
+# $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=3.0.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=('9bdb53699d5863c32cdfc329eff0113b888a193c58d5c1ff786a2ba70d5068fb')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --enable-systemd
+
+  #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"
+
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Copied: cinnamon-control-center/repos/community-staging-x86_64/cinnamon-control-center.install (from rev 171827, 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	2016-04-25 20:02:33 UTC (rev 171828)
@@ -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