From 3ec967f93da0e6a71b48a595a1803ec04c9ab199 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Fri, 6 Jan 2023 21:37:18 -0800 Subject: [PATCH] Depend on mlocate and add quotes --- PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 5f0a029..35bff06 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,12 +1,12 @@ # Maintainer: Eric Torres pkgname=packaging-scripts pkgver=1.7.1 -pkgrel=1 +pkgrel=2 pkgdesc="A set of helper scripts for handling Arch Linux packages" arch=('any') license=('MIT') groups=(pacman-helpers) -depends=(gist pacman python) +depends=(gist mlocate pacman python) makedepends=(git python-setuptools) optdepends=('fzf: for the fqo script' 'mlocate: for the fqo script') @@ -17,22 +17,22 @@ source=("${pkgname}::git+file:///home/etorres/Projects/packaging-scripts") sha256sums=('SKIP') pkgver() { - cd $srcdir/$pkgname + cd "$srcdir/$pkgname" python setup.py --version } build() { - cd $srcdir/$pkgname + cd "$srcdir/$pkgname" python setup.py build } check() { - cd $srcdir/$pkgname + cd "$srcdir/$pkgname" python -m unittest } package() { - cd $srcdir/$pkgname + cd "$srcdir/$pkgname" python setup.py install --root="$pkgdir/" --optimize=1 --skip-build