Advertisement
sebikul

Untitled

Jul 14th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.03 KB | None | 0 0
  1. # $Id: $
  2. # Maintainer: Allan McRae <allan@archlinux.org>
  3. # Contributor: Giacomo Rizzo <alt@free-os.it>
  4. # Contributor: Charles-Henri d'Adhémar <cdadhemar@gmail.com>
  5.  
  6. pkgname=gnome-cups-manager
  7. pkgver=0.33
  8. pkgrel=6
  9. pkgdesc="A CUPS manager for the Gnome Desktop Environment"
  10. arch=('i686' 'x86_64')
  11. url="http://www.gnome.org"
  12. license=('GPL')
  13. depends=('libgnomecups' 'libgnomeui' 'gksu')
  14. makedepends=('pkgconfig' 'intltool')
  15. install=gnome-cups-manager.install
  16. options=('!libtool')
  17. source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" 'glib-include.patch')
  18. md5sums=('a48eb85cd239760913c936d824062473'
  19.          'e81c195ab899fac8e3baba7cab7daf67')
  20.  
  21.  
  22. build() {
  23.   cd "${srcdir}/${pkgname}-${pkgver}"
  24.  
  25.   sed -i "s#gnomesu#gksu#" libgnomecups/gnome-cups-permission.c
  26.  
  27.   patch -Np1 -i ${srcdir}/glib-include.patch
  28.  
  29.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  30.   make || return 1
  31.  
  32. }
  33.  
  34. package() {
  35.  
  36. cd ${srcdir}/${pkgname}-${pkgver}
  37.  
  38.   make DESTDIR=${pkgdir} install
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement