Depend on mlocate and add quotes
This commit is contained in:
parent
f311d96a49
commit
3ec967f93d
12
PKGBUILD
12
PKGBUILD
@ -1,12 +1,12 @@
|
|||||||
# Maintainer: Eric Torres <erictorres4@protonmail.com>
|
# Maintainer: Eric Torres <erictorres4@protonmail.com>
|
||||||
pkgname=packaging-scripts
|
pkgname=packaging-scripts
|
||||||
pkgver=1.7.1
|
pkgver=1.7.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A set of helper scripts for handling Arch Linux packages"
|
pkgdesc="A set of helper scripts for handling Arch Linux packages"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
groups=(pacman-helpers)
|
groups=(pacman-helpers)
|
||||||
depends=(gist pacman python)
|
depends=(gist mlocate pacman python)
|
||||||
makedepends=(git python-setuptools)
|
makedepends=(git python-setuptools)
|
||||||
optdepends=('fzf: for the fqo script'
|
optdepends=('fzf: for the fqo script'
|
||||||
'mlocate: for the fqo script')
|
'mlocate: for the fqo script')
|
||||||
@ -17,22 +17,22 @@ source=("${pkgname}::git+file:///home/etorres/Projects/packaging-scripts")
|
|||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd $srcdir/$pkgname
|
cd "$srcdir/$pkgname"
|
||||||
python setup.py --version
|
python setup.py --version
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname
|
cd "$srcdir/$pkgname"
|
||||||
python setup.py build
|
python setup.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd $srcdir/$pkgname
|
cd "$srcdir/$pkgname"
|
||||||
python -m unittest
|
python -m unittest
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$pkgname
|
cd "$srcdir/$pkgname"
|
||||||
|
|
||||||
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user