diff options
author | Yen Chi Hsuan | 2015-10-09 01:48:54 +0800 |
---|---|---|
committer | Yen Chi Hsuan | 2015-10-09 01:48:54 +0800 |
commit | 5bc614379d7e6bf14a8b0e8501fb48cfda536cd2 (patch) | |
tree | 29db76ad7f6bbc57c2b92b2c3b9850bae22e3594 /PKGBUILD | |
parent | e1dab59c022fc31e4a757115d5692e50c3c8aa96 (diff) | |
download | aur-5bc614379d7e6bf14a8b0e8501fb48cfda536cd2.tar.gz |
Add my patch for fixing Python 3.5 building
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" |