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

Antonio Rojas arojas at archlinux.org
Fri Nov 10 18:49:08 UTC 2017


    Date: Friday, November 10, 2017 @ 18:49:08
  Author: arojas
Revision: 266156

archrelease: copy trunk to community-staging-x86_64

Added:
  cinnamon-control-center/repos/community-staging-x86_64/
  cinnamon-control-center/repos/community-staging-x86_64/PKGBUILD
    (from rev 266155, cinnamon-control-center/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: cinnamon-control-center/repos/community-staging-x86_64/PKGBUILD (from rev 266155, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-11-10 18:49:08 UTC (rev 266156)
@@ -0,0 +1,44 @@
+# $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.6.1
+pkgrel=1
+pkgdesc="The Control Center for Cinnamon"
+arch=('i686' 'x86_64')
+depends=('cinnamon-settings-daemon' 'cinnamon-translations' 'cinnamon-menus'
+         'libgnomekbd'  'libmm-glib' 'nm-connection-editor' 'colord' 'gnome-online-accounts')
+optdepends=('gnome-color-manager: for color management tasks')
+makedepends=('intltool' 'gnome-common' 'docbook-xsl')
+url="https://github.com/linuxmint/cinnamon-control-center"
+license=('GPL')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz")
+sha256sums=('02e6a62f71e43c6d039b180a66635e68af135a2870c1eb961dedd1e330cc7512')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --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 shell DESTDIR="$pkgdir" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
+  rm "$pkgdir"/usr/share/applications/cinnamon-{control-center,region-panel}.desktop
+  rm -R "$pkgdir/etc"
+
+  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}



More information about the arch-commits mailing list