1. # Maintainer: Alan Brault <[email protected]>
  2. # Contributor: Thomas Dziedzic < gostrc at gmail >
  3. # Contributor: Mattias Giese <[email protected]>
  4. pkgname=yum-utils
  5. pkgver=1.1.31
  6. pkgrel=3
  7. pkgdesc="A collection of utilities and plugins extending and supplementing yum in different ways."
  8. arch=('any')
  9. license=('GPL2')
  10. url="http://yum.baseurl.org/wiki/YumUtils"
  11. depends=('yum')
  12. source=(http://yum.baseurl.org/download/yum-utils/yum-utils-${pkgver}.tar.gz)
  13. md5sums=('b2859b89321b98f2581243536e1b4993')
  14. sha1sums=('aa96ccb97ad3a7c53a47c1bda418ce2604b77f1e')
  15. sha256sums=('1f7a9bad2ad743399a7f73353f532636d38042b8f93943d8427e48161700e1f4')
  16. sha512sums=('93ea249ad9635b8eff521cd4ddfad3cf318cfaafc67b4f5d70f574d2922609f60726c039388b7ca93cc8f1b5fbfa6242e4c15400c6e8c02279889aac72eba4b8')
  17. build() {
  18. cd ${pkgname}-${pkgver}
  19. find -type f -exec sed -i 's_#! */usr/bin/python_&2_' {} \;
  20. sed -i -e 's_/usr/sbin/_/usr/bin/_g' Makefile
  21. make PYTHON=python2
  22. }
  23. package() {
  24. cd ${pkgname}-${pkgver}
  25. make PYTHON=python2 DESTDIR=${pkgdir} install
  26. }
Comments powered by Disqus