summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornfnty2016-08-24 15:19:47 +0200
committernfnty2016-08-24 15:19:47 +0200
commitbe021788de66b923f0480368101bdc7da62ba57c (patch)
treee65a7f9312bb16ec597ce1ff7a2007d4d92ce8fe /PKGBUILD
parentb563c6fab42148f2873f761ccbbdb0154609672b (diff)
downloadaur-be021788de66b923f0480368101bdc7da62ba57c.tar.gz
Renamed `srcname` to `_srcname`
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 10db4a5afe1..9cca7863f07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=('shotcut-git')
-srcname='shotcut'
+_srcname='shotcut'
pkgdesc='Video editor'
pkgver='r1'
pkgrel='1'
@@ -29,7 +29,7 @@ provides=('shotcut')
conflicts=('shotcut')
source=(
- "${srcname}::git+${url}.git"
+ "${_srcname}::git+${url}.git"
'shotcut.desktop'
'melt.patch'
)
@@ -40,7 +40,7 @@ sha512sums=(
)
pkgver() {
- cd "${srcdir}/${srcname}"
+ cd "${srcdir}/${_srcname}"
printf 'r%s.%s.%s\n' \
"$( git rev-list --count 'HEAD' )" \
@@ -49,20 +49,20 @@ pkgver() {
}
prepare() {
- cd "${srcdir}/${srcname}"
+ cd "${srcdir}/${_srcname}"
git apply "${srcdir}/melt.patch"
}
build() {
- cd "${srcdir}/${srcname}"
+ cd "${srcdir}/${_srcname}"
qmake 'CONFIG-=c++11' PREFIX='/usr/'
make
}
package() {
- cd "${srcdir}/${srcname}"
+ cd "${srcdir}/${_srcname}"
make INSTALL_ROOT="${pkgdir}" install