summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIgor2018-06-04 22:16:02 -0400
committerIgor2018-06-04 22:16:02 -0400
commit5c24b28f01984d4303125a0896ff0fd4a1545a6e (patch)
tree2d42d86b7490a196ee84b6d733d8859534a623ff /PKGBUILD
parent97167b482b2116b4568648b4617dfe53b56b3f71 (diff)
downloadaur-package-query-git.tar.gz
Enclose variables into quotes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 303a60a43ef..3d05b8a1914 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Igor <f2404@yandex.ru>
pkgname=package-query-git
pkgver=1.9.r10.gb912c5b
-pkgrel=1
+pkgrel=2
pkgdesc="Query ALPM and AUR"
arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h' 'arm' 'aarch64')
url="https://github.com/archlinuxfr/package-query"
@@ -16,12 +16,12 @@ md5sums=('SKIP')
_gitname=package-query
pkgver () {
- cd $_gitname
+ cd "$_gitname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd $_gitname
+ cd "$_gitname"
./autogen.sh
./configure --localstatedir=/var --prefix=/usr \
--sysconfdir=/etc --with-aur-url=https://aur.archlinux.org
@@ -29,9 +29,6 @@ build() {
}
package () {
- cd $_gitname
- make DESTDIR=$pkgdir install
+ cd "$_gitname"
+ make DESTDIR="$pkgdir" install
}
-
-# vim:set ts=4 sw=4 et:
-