diff options
author | hxss | 2021-01-03 20:16:51 +0300 |
---|---|---|
committer | hxss | 2021-01-03 20:16:51 +0300 |
commit | e0d2bf10a14f17c15305481ca35bac541c27087a (patch) | |
tree | 524224be6a4754d760d27c537c45a70b59464f0e | |
parent | 21086ad6d2e9db0d85c411cd539ea5141a6dc096 (diff) | |
download | aur-e0d2bf10a14f17c15305481ca35bac541c27087a.tar.gz |
updated package script
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = folderpreview pkgdesc = Generates folder thumbs using child files thumbs pkgver = 0.4.2 - pkgrel = 1 + pkgrel = 2 url = https://gitlab.com/hxss-linux/folderpreview install = INSTALL arch = any @@ -9,6 +9,7 @@ pkgbase = folderpreview makedepends = python-pip makedepends = curl makedepends = jq + makedepends = findutils depends = python-dbus-next depends = python-pyxdg depends = python-yaml @@ -3,7 +3,7 @@ pipname=folderpreview pkgname=$pipname pkgver=0.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="Generates folder thumbs using child files thumbs" arch=(any) url="https://gitlab.com/hxss-linux/folderpreview" @@ -23,6 +23,7 @@ makedepends=( 'python-pip' 'curl' 'jq' + 'findutils' ) install='INSTALL' provides=($pipname) @@ -32,13 +33,17 @@ pkgver() { } package() { - pip install $pipname \ + PIP_CONFIG_FILE=/dev/null pip install $pipname \ --root=$pkgdir \ + --isolated \ --no-user \ --no-deps \ --ignore-installed \ + --no-warn-script-location \ --quiet + python -O -m compileall "$pkgdir" + install -Dm644 $(find $pkgdir -name LICENSE*) \ -t "$pkgdir/usr/share/licenses/$pkgname" } |