summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Flament2016-10-11 13:31:22 +0200
committerDamien Flament2016-10-11 13:31:22 +0200
commitc55228b86985df9381b005577263274b69852aec (patch)
treefcfdc18a7a2e9c41b20d3e19e17e0f8c1aa9f588
parent4b5a4dd23438687c7d1a2b5d61d11e89debd1534 (diff)
downloadaur-c55228b86985df9381b005577263274b69852aec.tar.gz
Use $_gitname in _gitroot and source variables.
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2c3c311281a..a62a25a2e91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,13 +19,13 @@ backup=()
options=()
install=
changelog=
-source=('LibreCAD::git://github.com/LibreCAD/LibreCAD.git' 'librecad.desktop')
+_gitname='LibreCAD'
+_gitroot="https://github.com/${_gitname}/${_gitname}.git"
+source=("${_gitname}::git://github.com/${_gitname}/${_gitname}.git" 'librecad.desktop')
noextract=()
md5sums=('SKIP' '19dcb83a3fcdb3752439095b118ac6d3')
validpgpkeys=()
-_gitroot="https://github.com/LibreCAD/LibreCAD.git"
-_gitname="LibreCAD"
pkgver() {
cd "${srcdir}/${_gitname}"