diff options
author | Kevin | 2019-04-02 11:42:04 -0500 |
---|---|---|
committer | Kevin | 2019-04-02 11:42:04 -0500 |
commit | 0f1cf6534c4c25a8d3e39836683a40c309e625b1 (patch) | |
tree | 24d9fd3f75b215d847da712cb83cfd65eef4cb6e | |
parent | 227a668de5b682a79ad9288b4c5d8a76c714fa13 (diff) | |
download | aur-0f1cf6534c4c25a8d3e39836683a40c309e625b1.tar.gz |
added patch as makedependecie
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 2 deletions
@@ -5,6 +5,7 @@ pkgbase = pyenv-virtualenv url = https://github.com/pyenv/pyenv-virtualenv arch = any license = MIT + makedepends = patch depends = pyenv depends = bash source = https://github.com/pyenv/pyenv-virtualenv/archive/v1.1.5.tar.gz @@ -9,17 +9,22 @@ arch=('any') url="https://github.com/pyenv/pyenv-virtualenv" license=('MIT') depends=('pyenv' 'bash') +makedepends=('patch') source=("https://github.com/pyenv/$pkgname/archive/v$pkgver.tar.gz" "fix-symlink-308.patch") md5sums=('2ebab171a403915d695c383855ac78e4' '476790c1f9643d76efbb188b35ed19e0') -package() { - mkdir -p "${pkgdir?}"/{opt/pyenv/plugins/pyenv-virtualenv,usr/bin} +prepare() { cd "${srcdir?}/$pkgname-$pkgver" # Fix issue #308 patch -p1 < ../fix-symlink-308.patch +} + +package() { + mkdir -p "${pkgdir?}"/{opt/pyenv/plugins/pyenv-virtualenv,usr/bin} + cd "${srcdir?}/$pkgname-$pkgver" # Intall using the script PREFIX="${pkgdir}/opt/pyenv/plugins/pyenv-virtualenv" ./install.sh |