Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer : Dave Reisner <d@falconindy.com>
- pkgname=pyalpm-git
- pkgver=0.5.3.10.gf5ce48d
- pkgrel=1
- pkgdesc="Libalpm bindings for Python 3"
- arch=('i686' 'x86_64')
- url="http://projects.archlinux.org/users/remy/pyalpm.git/"
- license=('GPL')
- depends=('python>=3.2' 'pacman-git')
- provides=('pyalpm')
- conflicts=('pyalpm')
- makedepends=('git')
- source=('git://projects.archlinux.org/users/remy/pyalpm.git')
- md5sums=('SKIP')
- _gitname="pyalpm"
- pkgver() {
- cd "${_gitname}"
- git describe --always | sed -e 's|-|.|g'
- }
- build() {
- cd "${_gitname}"
- # workaround Python packaging issue (FS#34658)
- CFLAGS+=" -Wno-format"
- python setup.py build
- }
- package() {
- cd "${_gitname}"
- python setup.py install --root="${pkgdir}"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement