summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlfredo Ramos2016-02-11 20:21:08 -0600
committerAlfredo Ramos2016-02-11 20:21:08 -0600
commitb4b98bb8f5e74875169204b8250534cf0454246e (patch)
treef099a9791d73017c2e6a6ce91141568d80673808 /PKGBUILD
parent84947d9cc24dadc897fdb564e9c78789fafe00e6 (diff)
downloadaur-b4b98bb8f5e74875169204b8250534cf0454246e.tar.gz
Quote srcdir and pkgdir
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3be003e6783..057bd08c94d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=vokoscreen
pkgname=${_pkgname}-git
-pkgver=2.4.9.beta.14.ga0a2ec8
+pkgver=2.4.15.beta.3.ge00de96
pkgrel=2
pkgdesc='An easy to use screencast creator. Qt5 UI. Development version.'
arch=('i686' 'x86_64')
@@ -32,17 +32,17 @@ sha512sums=(
pkgver() {
# Updating package version
- cd ${srcdir}/${_pkgname}
+ cd "${srcdir}"/${_pkgname}
git describe --long --tags 2>/dev/null | sed -r 's/-/./g'
}
prepare() {
# Desktop file description
- cd ${srcdir}/${_pkgname}
+ cd "${srcdir}"/${_pkgname}
patch -p1 < ../desktop_file.patch
# Create build directory
- mkdir -p ${srcdir}/build
+ mkdir -p "${srcdir}"/build
}
build() {
@@ -54,7 +54,7 @@ build() {
fi
# Building package
- cd ${srcdir}/build
+ cd "${srcdir}"/build
qmake-qt5 ../${_pkgname} \
CONFIG+=release \
CONFIG+=c++14 \
@@ -65,6 +65,6 @@ build() {
package() {
# Installing package
- cd ${srcdir}/build
- make INSTALL_ROOT=${pkgdir} install
-} \ No newline at end of file
+ cd "${srcdir}"/build
+ make INSTALL_ROOT="${pkgdir}" install
+}