SHARE
TWEET

Untitled

a guest Apr 15th, 2013 54 Never
  1. # Maintainer : Dave Reisner <d@falconindy.com>
  2.  
  3. pkgname=pyalpm-git
  4. pkgver=0.5.3.10.gf5ce48d
  5. pkgrel=1
  6. pkgdesc="Libalpm bindings for Python 3"
  7. arch=('i686' 'x86_64')
  8. url="http://projects.archlinux.org/users/remy/pyalpm.git/"
  9. license=('GPL')
  10. depends=('python>=3.2' 'pacman-git')
  11. provides=('pyalpm')
  12. conflicts=('pyalpm')
  13. makedepends=('git')
  14.  
  15. source=('git://projects.archlinux.org/users/remy/pyalpm.git')
  16. md5sums=('SKIP')
  17. _gitname="pyalpm"
  18.  
  19. pkgver() {
  20.   cd "${_gitname}"
  21.   git describe --always | sed -e 's|-|.|g'
  22. }
  23.  
  24. build() {
  25.   cd "${_gitname}"
  26.   # workaround Python packaging issue (FS#34658)
  27.   CFLAGS+=" -Wno-format"
  28.   python setup.py build
  29. }
  30.  
  31. package() {
  32.   cd "${_gitname}"
  33.   python setup.py install --root="${pkgdir}"
  34. }
RAW Paste Data
Top