summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoan Bruguera2022-02-19 00:00:46 +0100
committerJoan Bruguera2022-02-19 00:00:46 +0100
commit0071b720cbf91a8b2f94fe19a1d2efbed3477d0d (patch)
treecbd72c4e78cc00929eee8ffdbfe68dcddc6f5eb7
parent8242f8be95e66eb21398f5fe3c6dc0ba3b04a3bb (diff)
downloadaur-spice-gtk-extra-mouse-buttons.tar.gz
Deprecate package.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f79eed6e6e42..f4bd486e061a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = spice-gtk-extra-mouse-buttons
pkgdesc = GTK+ client library for SPICE (with support for extra mouse buttons)
pkgver = 0.39
- pkgrel = 4.3
+ pkgrel = 4.4
url = https://www.spice-space.org/
install = spice-gtk.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 543ac841be9f..027d8caba284 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -65,10 +65,18 @@ sha256sums+=('3f5129e56b5816d5e5ce0a3cc2e875cc175f1be88eed6495cc1b85b1068bcf4a')
_pkgname=$pkgname
pkgname+="-extra-mouse-buttons"
-pkgrel="$pkgrel.3"
+pkgrel="$pkgrel.4"
pkgdesc+=" (with support for extra mouse buttons)"
eval "$(declare -f build | sed 's/$pkgname/$_pkgname/g')"
prepare() {
+ echo '******************************' 1>&2
+ echo '* THIS PACKAGE IS DEPRECATED *' 1>&2
+ echo '******************************' 1>&2
+ echo 'Side mouse buttons are now supported on the official Arch spice-gtk package.' 1>&2
+ echo "Please replace $pkgname with $_pkgname." 1>&2
+ echo 'This AUR package will be deleted soon.' 1>&2
+ exit 1
+
patch -d"$_pkgname-$pkgver" -Np1 -i "${srcdir}"/spice-extra-mouse-buttons.patch
}