This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

gpaste-daemon-no-gnome-control-center

By: a guest on Apr 20th, 2013  |  syntax: Bash  |  size: 1.24 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Ner0
  2.  
  3. pkgname=gpaste-daemon
  4. pkgver=3.0.1
  5. pkgrel=1
  6. pkgdesc="A clipboard management daemon"
  7. arch=('i686' 'x86_64')
  8. url="http://www.imagination-land.org/tags/GPaste.html"
  9. license=('GPL3')
  10. depends=('dbus-core' 'gtk3' 'libxml2' 'xcb-util-keysyms')
  11. makedepends=('dbus-core' 'libxml2' 'gtk3' 'intltool' 'vala')
  12. conflicts=('cinnamon-extension-gpaste' 'gpaste')
  13. provides=('gpaste')
  14. options=('!emptydirs')
  15. install=$pkgname.install
  16. source=("http://www.imagination-land.org/files/gpaste-$pkgver.tar.xz")
  17. md5sums=('eb99d3a5f0bb2ab763f1b3820d4c8e8a')
  18.  
  19. build () {
  20.   cd ${pkgname%-*}-${pkgver}
  21.   mv configure.ac configure.ac.original
  22.   sed 's/.*GNOME_CONTROL_CENTER.*/[with_controlcenterdir=`$PKG_CONFIG --variable keysdir gnome-keybindings`])/' configure.ac.original > configure.ac
  23.   ./configure --prefix=/usr --sysconfdir=/etc --enable-systemd \
  24.               --disable-applet --disable-gnome-shell-extension \
  25.               --disable-schemas-compile --without-controlcenterdir
  26.   make
  27. }
  28.  
  29. package () {
  30.   cd ${pkgname%-*}-${pkgver}
  31.   make DESTDIR="$pkgdir/" install
  32.  
  33.   install -Dpm644 data/completions/gpaste "$pkgdir/etc/bash_completion.d/gpaste"
  34.   install -Dpm644 data/completions/_gpaste "$pkgdir/usr/share/zsh/site-functions/_gpaste"
  35. }
clone this paste RAW Paste Data