Advertisement
Guest User

system-config-lvm-1.1.16-5.fc17 for arch linux

a guest
Mar 11th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.10 KB | None | 0 0
  1. # Contributors:
  2. #   henning mueller <henning@orgizm.net>
  3. #   schalox <schalox at gmail dot com>
  4.  
  5. pkgname=system-config-lvm
  6. pkgver=1.1.16
  7. _fedora_rel=5.fc17
  8. pkgrel=1
  9. pkgdesc="A utility for graphical configuration of Logical Volumes"
  10. arch=('i686' 'x86_64')
  11. url="http://fedoraproject.org/wiki/SystemConfig/lvm"
  12. license=('GPL')
  13. depends=('gtk2' 'gnome-python' 'pygtk' 'lvm2' 'gksu')
  14. makedepends=('automake' 'gettext' 'intltool')
  15. source=("http://kojipkgs.fedoraproject.org/packages/${pkgname}/${pkgver}/${_fedora_rel}/src/${pkgname}-${pkgver}-${_fedora_rel}.src.rpm"
  16.         "desktop-file.patch")
  17. sha256sums=('bed7372c40a0c1dd3de3b0d267f28b6147868ebe9becd284cfbba2941285f4a9'
  18.             '1b00b1f3e01204975bbaa17ff05d8bda66a3b35fdf6ef71fa136afa8ef4e1fc7')
  19.  
  20. build() {
  21.     cd "$srcdir"
  22.     tar xzf "${pkgname}-${pkgver}.tar.gz"
  23.     rm -f "${pkgname}-${pkgver}.tar.gz" "${pkgname}.spec"
  24.  
  25.     cd "${pkgname}-${pkgver}"
  26.     patch -p0 < ../desktop-file.patch
  27.     ./configure --prefix=/usr --sysconfdir=/etc
  28.     make
  29. }
  30.  
  31. package() {
  32.     cd "${srcdir}/${pkgname}-${pkgver}"
  33.     make DESTDIR="$pkgdir" install
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement