Guest User

cinnamon-git PKGBUILD

a guest
Jul 25th, 2013
86
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _pkgname=cinnamon
  2. pkgname=${_pkgname}-git
  3. pkgver=2855.39fc3a7
  4. pkgrel=1
  5. pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
  6. arch=('i686' 'x86_64')
  7. url="https://github.com/linuxmint/Cinnamon"
  8. license=('GPL')
  9. depends=('accountsservice' 'caribou' 'clutter-gtk' 'cjs-git' 'blueman-git'
  10.          'gnome-icon-theme' 'gnome-menus' 'cinnamon-settings-daemon-git' 'cinnamon-session-git'
  11.          'gnome-themes-standard' 'gstreamer0.10' 'gksu' 'libgnome-keyring' 'librsvg'
  12.          'networkmanager' 'muffin-git' 'pygtk' 'python2-dbus' 'python2-imaging'
  13.          'python2-pam' 'python2-pexpect' 'python2-pyinotify' 'python2-lxml' 'webkitgtk3')
  14. makedepends=('gnome-common' 'intltool' 'git')
  15. optdepends=('cinnamon-control-center-git: extended configurations for Cinnamon'
  16.             'cinnamon-screensaver: lock screen'
  17.             'gucharmap: show character table from Keyboard applet'
  18.             'libgnomekbd: show keyboard layout from Keyboard applet'
  19.             'nemo: the official Cinnamon file manager (forked from Nautilus)')
  20. options=('!libtool' '!emptydirs')
  21. provides=("${_pkgname}")
  22. conflicts=("${_pkgname}")
  23. install=${pkgname}.install
  24. source=('git+https://github.com/linuxmint/Cinnamon.git')
  25. sha512sums=('SKIP')
  26.  
  27. pkgver() {
  28.   cd Cinnamon
  29.   echo $(git rev-list --count master).$(git rev-parse --short master)
  30. }
  31.  
  32. build() {
  33.   cd "${srcdir}/Cinnamon"
  34.  
  35.   #autoreconf -vfi
  36.   #intltoolize -f
  37.   ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/cinnamon --localstatedir=/var --disable-static --disable-schemas-compile --disable-schemas-install --enable-compile-warnings=yes
  38.   make
  39. }
  40.  
  41. package() {
  42.   cd "${srcdir}/Cinnamon"
  43.   make DESTDIR="${pkgdir}/" install
  44.  
  45.   # Python 2 fix
  46.   find "${pkgdir}/usr/bin" -type f -exec sed -i \
  47.     -e 's|^\(#!.*python\)$|\12|g' \
  48.     -e '/python[ \t]\+[-a-zA-Z0-9]\+$/ s|^\(#!.*python\)[ \t]*\(.*\)$|\12 \2|g' '{}' \;
  49.   find "${pkgdir}" -type f -name *py -exec sed -i \
  50.     -e 's|^\(#!.*python\)$|\12|g' \
  51.     -e '/python[ \t]\+[-a-zA-Z0-9]\+$/ s|^\(#!.*python\)[ \t]*\(.*\)$|\12 \2|g' '{}' \;
  52.    
  53.   sed -i 's:import PAM:import pam:' "$pkgdir"/usr/lib/cinnamon-settings/modules/cs_user.py
  54. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×