[arch-commits] Commit in cinnamon-control-center/repos (6 files)
Balló György
bgyorgy at archlinux.org
Fri Nov 20 19:50:54 UTC 2015
Date: Friday, November 20, 2015 @ 20:50:54
Author: bgyorgy
Revision: 147257
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
cinnamon-control-center/repos/community-testing-i686/
cinnamon-control-center/repos/community-testing-i686/PKGBUILD
(from rev 147256, cinnamon-control-center/trunk/PKGBUILD)
cinnamon-control-center/repos/community-testing-i686/cinnamon-control-center.install
(from rev 147256, cinnamon-control-center/trunk/cinnamon-control-center.install)
cinnamon-control-center/repos/community-testing-x86_64/
cinnamon-control-center/repos/community-testing-x86_64/PKGBUILD
(from rev 147256, cinnamon-control-center/trunk/PKGBUILD)
cinnamon-control-center/repos/community-testing-x86_64/cinnamon-control-center.install
(from rev 147256, cinnamon-control-center/trunk/cinnamon-control-center.install)
----------------------------------------------------------+
community-testing-i686/PKGBUILD | 52 +++++++++++++
community-testing-i686/cinnamon-control-center.install | 11 ++
community-testing-x86_64/PKGBUILD | 52 +++++++++++++
community-testing-x86_64/cinnamon-control-center.install | 11 ++
4 files changed, 126 insertions(+)
Copied: cinnamon-control-center/repos/community-testing-i686/PKGBUILD (from rev 147256, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-11-20 19:50:54 UTC (rev 147257)
@@ -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=2.8.1
+pkgrel=1
+pkgdesc="The Control Center for Cinnamon"
+arch=('i686' 'x86_64')
+depends=('cinnamon-settings-daemon' 'cinnamon-translations' 'cinnamon-menus'
+ '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=('595076ef89949c31357cd45f41818df1f6b7350a2b810f107e0b88cd9870e273')
+
+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-testing-i686/cinnamon-control-center.install (from rev 147256, cinnamon-control-center/trunk/cinnamon-control-center.install)
===================================================================
--- community-testing-i686/cinnamon-control-center.install (rev 0)
+++ community-testing-i686/cinnamon-control-center.install 2015-11-20 19:50:54 UTC (rev 147257)
@@ -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-testing-x86_64/PKGBUILD (from rev 147256, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-11-20 19:50:54 UTC (rev 147257)
@@ -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=2.8.1
+pkgrel=1
+pkgdesc="The Control Center for Cinnamon"
+arch=('i686' 'x86_64')
+depends=('cinnamon-settings-daemon' 'cinnamon-translations' 'cinnamon-menus'
+ '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=('595076ef89949c31357cd45f41818df1f6b7350a2b810f107e0b88cd9870e273')
+
+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-testing-x86_64/cinnamon-control-center.install (from rev 147256, cinnamon-control-center/trunk/cinnamon-control-center.install)
===================================================================
--- community-testing-x86_64/cinnamon-control-center.install (rev 0)
+++ community-testing-x86_64/cinnamon-control-center.install 2015-11-20 19:50:54 UTC (rev 147257)
@@ -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