diff options
author | Philipp A | 2020-03-04 11:15:20 +0100 |
---|---|---|
committer | Philipp A | 2020-03-04 11:15:20 +0100 |
commit | 7a836adf1487276c72c16bd8f4d1e116b1b4441a (patch) | |
tree | 510614e1f1b867a58f5c815a4d1f5f54171815a6 /PKGBUILD | |
parent | 3f0180e91a8d2b0a83482875eeaabdf272fcf432 (diff) | |
download | aur-7a836adf1487276c72c16bd8f4d1e116b1b4441a.tar.gz |
don’t use pip
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,12 +1,11 @@ -# Maintainer: Phil Schaf <flying-sheep@web.de> +# Maintainer: Phil A. <flying-sheep@web.de> pkgname=jupyter_highlight_selected_word pkgver=0.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='Jupyter notebook extension that enables highlighting every instance of the current word in the notebook' arch=(any) -url=https://github.com/ipython-contrib/$_gitname +url="https://github.com/jcb91/$pkgname" license=(BSD) -makedepends=() depends=(python jupyter jupyter-notebook) _wheel="$pkgname-$pkgver-py2.py3-none-any.whl" source=("$_wheel::https://files.pythonhosted.org/packages/py2.py3/${pkgname::1}/$pkgname/$_wheel") @@ -14,5 +13,7 @@ sha256sums=('9545dfa9cb057eebe3a5795604dcd3a5294ea18637e553f61a0b67c1b5903c58') noextract=("$_wheel") package() { - pip install --compile --no-deps --ignore-installed --root="$pkgdir" "$_wheel" + local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages" + mkdir -p "$site" + unzip "$_wheel" -d "$site" } |