summaryrefslogtreecommitdiff
path: root/community/cinnamon-control-center/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cinnamon-control-center/PKGBUILD')
-rw-r--r--community/cinnamon-control-center/PKGBUILD65
1 files changed, 0 insertions, 65 deletions
diff --git a/community/cinnamon-control-center/PKGBUILD b/community/cinnamon-control-center/PKGBUILD
deleted file mode 100644
index e53dd9e88..000000000
--- a/community/cinnamon-control-center/PKGBUILD
+++ /dev/null
@@ -1,65 +0,0 @@
-# $Id: PKGBUILD 91472 2013-05-23 01:19:04Z faidoc $
-# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com
-# Based on gnome-control-center:
-# Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
-# Jan de Groot <jgc@archlinux.org>
-
-pkgname=cinnamon-control-center
-pkgver=1.8.2
-pkgrel=1
-pkgdesc="The Control Center for Cinnamon"
-arch=('i686' 'x86_64')
-depends=('cinnamon' 'cheese' 'libgnomekbd' 'network-manager-applet')
-optdepends=('gnome-color-manager: for color management tasks')
-makedepends=('intltool' 'gnome-common')
-url="https://github.com/linuxmint/cinnamon-control-center"
-install=cinnamon-control-center.install
-license=('GPL')
-options=('!libtool' '!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz"
- "gnomerrlabeler.patch"
- "idle-delay.patch")
-sha256sums=('78effed26a8fdce481cfe467889c9afdb6db78a961aec61b918c83c9781ccf4f'
- 'a01db243251c3da59c969d4538a35a63020d1e20866ff700ef273debd05456db'
- '42ea92628dc234d65e582592a66c0011d5bb2c2eac14854a06f7a9dc923c8d67')
-
-build() {
- cd $pkgname-$pkgver
-
- # Build fix for GNOME 3.8
- patch -Np1 -i "$srcdir/gnomerrlabeler.patch"
-
- # Runtime fix for GNOME 3.8
- patch -Np1 -i "$srcdir/idle-delay.patch"
-
- autoreconf -fi
-
- ./configure --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
- make -C shell DESTDIR="$pkgdir" install-libLTLIBRARIES
-
- # Remove broken desktop files
- rm -R "$pkgdir/usr/share/applications"
- 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"
-}