Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

glippy-0.6 PKGBUILD

By: a guest on Aug 22nd, 2012  |  syntax: Bash  |  size: 1.32 KB  |  views: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Eduardo Reveles <me@osiux.ws>
  2. # Contributor: Shem Valentine <archlinux@valentinenews.net>
  3. # Contributor: Lael Guillemenot <zeppelinlg@gmail.com>
  4.  
  5. pkgname=glippy
  6. pkgver=0.6
  7. _majorver=1.0
  8. pkgrel=1
  9. pkgdesc="not so simple clipboard manager for GNOME"
  10. arch=('i686' 'x86_64')
  11. url="https://launchpad.net/glippy"
  12. license=('GPL')
  13. depends=('mono')
  14. makedepends=('automake' 'gtk-sharp-2' 'gnome-sharp' 'gconf-sharp')
  15. options=(!emptydirs)
  16. install=$pkgname.install
  17. source=(http://launchpad.net/${pkgname}/${_majorver}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
  18. md5sums=('27338fe72e44e8563e912bc7d06478b0')
  19.  
  20. build() {
  21.   cd "$srcdir/$pkgname-$pkgver"
  22.   #Using last autoconf
  23.   PATH_AUTOCONF=$(find /usr/share -maxdepth 1 -type d -name "automake-*")
  24.   rm config.guess config.sub
  25.   ln -s $PATH_AUTOCONF/config.guess .
  26.   ln -s $PATH_AUTOCONF/config.sub .
  27.   ./configure --prefix=/usr --sysconfdir=/etc \
  28.               --localstatedir=/var
  29.   make
  30. }
  31.  
  32. package() {
  33.   cd "$srcdir/$pkgname-$pkgver"
  34.   make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install
  35.  
  36.   install -m755 -d "$pkgdir/usr/share/gconf/schemas"
  37.   gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" \
  38.     "$pkgdir"/etc/gconf/schemas/*.schemas
  39.   rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
  40. }
  41.  
  42. # vim:set ts=2 sw=2 et: