aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk+2.0
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-17 20:01:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-19 12:01:13 +0000
commit233283378e3ab13fc25f14723fc8fc5d2122d14c (patch)
tree6ea62371f2ff1433400210dbe19729a3f5dc4c1d /main/gtk+2.0
parent194e0222a25112af48c74721f0f958ecc64e11cd (diff)
downloadaports-233283378e3ab13fc25f14723fc8fc5d2122d14c.tar.bz2
aports-233283378e3ab13fc25f14723fc8fc5d2122d14c.tar.xz
main/gtk+2.0: prefix global variable with _
global variables should be prefixed with _ to avoid name clash in abuild itself.
Diffstat (limited to 'main/gtk+2.0')
-rw-r--r--main/gtk+2.0/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/gtk+2.0/APKBUILD b/main/gtk+2.0/APKBUILD
index dda08c782f..5c99a6a4a3 100644
--- a/main/gtk+2.0/APKBUILD
+++ b/main/gtk+2.0/APKBUILD
@@ -2,15 +2,15 @@
pkgname=gtk+2.0
pkgver=2.24.32
pkgrel=1
-subpkg=gtk-update-icon-cache
+_subpkg=gtk-update-icon-cache
pkgdesc="The GTK+ Toolkit (v2)"
url="https://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
-triggers="$subpkg.trigger=/usr/share/icons/*"
+triggers="$_subpkg.trigger=/usr/share/icons/*"
arch="all"
options="!check" # Requires xvfb, resulting in eventual circular dependency
license="LGPL-2.0+"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $subpkg:icon_cache"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $_subpkg:icon_cache"
depends="shared-mime-info gtk-update-icon-cache"
replaces="gtk+"
@@ -101,7 +101,7 @@ icon_cache() {
depends="hicolor-icon-theme"
mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/"$subpkg" "$subpkgdir"/usr/bin
+ mv "$pkgdir"/usr/bin/"$_subpkg" "$subpkgdir"/usr/bin
}
sha512sums="8e8fd9ae32f1d6fb544da260f00599f0f05090d910d767b06ef086ab4f1f8373a29bb0da9767761c9b5f4cfd51b5c45d0fa5d39b0428c839ddf0a579df806696 gtk+-2.24.32.tar.xz