SHARE
TWEET

Untitled

a guest Apr 9th, 2014 234 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: henning mueller <henning@orgizm.net>
  2. # Contributor: schalox <schalox at gmail dot com>
  3. # Contributor: Florian Dejonckheere <floriandejonckheere.be>
  4.  
  5. pkgname=system-config-lvm
  6. pkgver=1.1.18
  7. _fedora_rel=1.fc19
  8. pkgrel=4
  9. pkgdesc='A utility for graphical configuration of Logical Volumes'
  10. arch=(any)
  11. url='http://fedoraproject.org/wiki/SystemConfig/lvm'
  12. license=(GPL)
  13. depends=(gtk2 gnome-python pygtk lvm2 gksu)
  14. makedepends=(intltool)
  15. source=("http://kojipkgs.fedoraproject.org/packages/${pkgname}/${pkgver}/${_fedora_rel}/src/${pkgname}-${pkgver}-${_fedora_rel}.src.rpm")
  16. sha256sums=('fa04b869afa5b690b040e02e70c1d23e79d25481fac4f95d74c8f98d9158bbe6')
  17.  
  18. prepare()
  19. {
  20.         cd "${srcdir}"
  21.         tar -xvzf "${pkgname}-${pkgver}.tar.gz"
  22. }
  23.  
  24. build()
  25. {
  26.         cd "${srcdir}/${pkgname}-${pkgver}"
  27.         ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
  28.         make
  29. }
  30.  
  31. package()
  32. {
  33.         cd "${srcdir}/${pkgname}-${pkgver}"
  34.         make DESTDIR="${pkgdir}" install
  35.         ln -fs "/usr/share/${pkgname}/${pkgname}.py" "${pkgdir}/usr/bin/${pkgname}"
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top