Subject: [PATCH] community/compton: upgrade to 7.4

From: Paul Bredbury <[email-masked]>
Date: Wed, 9 Oct 2019 07:40:05 +0100

---
 community/compton/APKBUILD | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/community/compton/APKBUILD b/community/compton/APKBUILD
index d8c002aae9..1c4d9c1e79 100644
--- a/community/compton/APKBUILD
+++ b/community/compton/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Francesco Colista <[email-masked]>
 # Maintainer: Francesco Colista <[email-masked]>
 pkgname=compton
-pkgver=6.2
-pkgrel=1
+pkgver=7.4
+pkgrel=0
 pkgdesc="X Compositor (a fork of xcompmgr-dana)"
 url="https://github.com/yshui/compton"
 arch="all"
@@ -10,21 +10,18 @@ license="MIT MPL-2.0"
 makedepends="libx11-dev libxcomposite-dev libxinerama-dev libxdamage-dev \
 	libconfig-dev pcre-dev libxrandr-dev dbus-dev libdrm-dev mesa-dev meson \
 	libev-dev libxdg-basedir-dev pixman-dev xcb-util-renderutil-dev \
-	xcb-util-image-dev asciidoc"
-install=""
+	xcb-util-image-dev asciidoc uthash-dev"
 subpackages="$pkgname-doc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/yshui/$pkgname/archive/v$pkgver.tar.gz"
 options="!check" # No tests defined in tests/ directory
 builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
-	cd "$builddir"
 	meson --prefix=/usr --buildtype=release -Dbuild_docs=true build
 	ninja -v -C build
 }
 
 package() {
-	cd "$builddir"
 	DESTDIR="$pkgdir" ninja -C build install
 
 	mkdir -p "$pkgdir/usr/share/doc/compton"
@@ -32,4 +29,4 @@ package() {
 	install -D -m644 "compton.sample.conf" "$pkgdir/etc/xdg/compton.conf.example"
 }
 
-sha512sums="a0e57dcaff9a18d0ac3b24d15ccaf0f5b308cda0d1c24ab4f76c8e8f3e302983731d7bd3becaf311dd53ca77287eb820315e729b5e34fb1879cab2adad001e82  compton-6.2.tar.gz"
+sha512sums="03dbe0a54cfea2594133daca76e2f0f908383ee74cdcc8e94d17d5cd0943abf86c58452876b422da081f3c3226545ad3553561d37c138e903c0fe76865c2f43a  compton-7.4.tar.gz"
-- 
2.23.0