summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornfnty2016-08-24 15:20:14 +0200
committernfnty2016-08-24 15:20:14 +0200
commitc1a6565a3f9247f2415476d299312758105ef9ab (patch)
tree77bb97b0852dab2b0e112a4eed042ade36fd0972 /PKGBUILD
parent71c1b3518e6edc27ed01609ec905a71a664e4f4f (diff)
downloadaur-c1a6565a3f9247f2415476d299312758105ef9ab.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 29f3f525854..82330a21556 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
pkgname=('qt5-styleplugins-git')
-srcname='qtstyleplugins'
+_srcname='qtstyleplugins'
pkgdesc='Additional style plugins for Qt5'
pkgver='r1'
pkgrel='1'
arch=('i686' 'x86_64')
-url="https://code.qt.io/cgit/qt/${srcname}"
+url="https://code.qt.io/cgit/qt/${_srcname}"
license=('LGPL')
depends=('qt5-base' 'gconf' 'gtk2' 'libx11')
@@ -12,11 +12,11 @@ makedepends=('git')
provides=("${pkgname[0]%-git}")
conflicts=("${pkgname[0]%-git}")
-source=("${srcname}::git+${url}.git")
+source=("${_srcname}::git+${url}.git")
sha512sums=('SKIP')
pkgver() {
- cd "${srcdir}/${srcname}"
+ cd "${srcdir}/${_srcname}"
printf 'r%s.%s.%s\n' \
"$( git rev-list --count 'HEAD' )" \
@@ -25,14 +25,14 @@ pkgver() {
}
build() {
- cd "${srcdir}/${srcname}"
+ cd "${srcdir}/${_srcname}"
qmake PREFIX='/usr' LIBDIR='/usr/lib'
make
}
package() {
- cd "${srcdir}/${srcname}"
+ cd "${srcdir}/${_srcname}"
make INSTALL_ROOT="${pkgdir}" install
rm --recursive "${pkgdir}/usr/lib/cmake"