diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -4,7 +4,7 @@ _pkgname=pyalpm pkgname=$_pkgname-git pkgver=0.6.2.r3.g3c4692b -pkgrel=1 +pkgrel=2 pkgdesc="Libalpm bindings for Python 3 (Git version)" arch=('i686' 'x86_64') url="http://projects.archlinux.org/users/remy/pyalpm.git/" @@ -13,8 +13,14 @@ depends=('python>=3.2' 'pacman') provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") makedepends=('git') -source=('git+https://projects.archlinux.org/git/users/remy/pyalpm.git') -md5sums=('SKIP') +source=( + 'git+https://projects.archlinux.org/git/users/remy/pyalpm.git' + '0001-Fix-build-for-Python-3.5.patch' +) +md5sums=( + 'SKIP' + 'd5481d4f9920860518277a78857c25e8' +) pkgver() { cd "$srcdir/$_pkgname" @@ -24,6 +30,12 @@ pkgver() { ) } +prepare() { + cd "$srcdir/$_pkgname" + + patch -Np1 -i ../0001-Fix-build-for-Python-3.5.patch +} + package() { cd "$srcdir/$_pkgname" |