Date: Wednesday, November 30, 2022 @ 18:00:59
  Author: heftig
Revision: 462803

43-2: split adwaita-cursors

Modified:
  adwaita-icon-theme/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-30 17:51:02 UTC (rev 462802)
+++ PKGBUILD    2022-11-30 18:00:59 UTC (rev 462803)
@@ -2,9 +2,10 @@
 # Contributor: Lukas Fleischer <[email protected]>
 # Contributor: Jan de Groot <[email protected]>
 
-pkgname=adwaita-icon-theme
+pkgbase=adwaita-icon-theme
+pkgname=(adwaita-icon-theme adwaita-cursors)
 pkgver=43
-pkgrel=1
+pkgrel=2
 pkgdesc="GNOME standard icons"
 url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme";
 arch=(any)
@@ -36,7 +37,20 @@
   make check
 }
 
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+package_adwaita-icon-theme() {
+  depends+=(adwaita-cursors)
+
+  make -C $pkgname DESTDIR="$pkgdir" install
+
+  mkdir -p cursors/usr/share/icons/Adwaita
+  mv {"$pkgdir",cursors}/usr/share/icons/Adwaita/cursors
 }
+
+package_adwaita-cursors() {
+  pkgdesc="GNOME standard cursors"
+  depends=()
+
+  mv cursors/* "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to