Date: Wednesday, November 30, 2022 @ 18:06:43
  Author: heftig
Revision: 462808

archrelease: copy trunk to testing-any

Added:
  adwaita-icon-theme/repos/testing-any/
  adwaita-icon-theme/repos/testing-any/PKGBUILD
    (from rev 462806, adwaita-icon-theme/trunk/PKGBUILD)

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

Copied: adwaita-icon-theme/repos/testing-any/PKGBUILD (from rev 462806, 
adwaita-icon-theme/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2022-11-30 18:06:43 UTC (rev 462808)
@@ -0,0 +1,56 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Lukas Fleischer <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgbase=adwaita-icon-theme
+pkgname=(adwaita-icon-theme adwaita-cursors)
+pkgver=43
+pkgrel=2
+pkgdesc="GNOME standard icons"
+url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme";
+arch=(any)
+license=(LGPL3 CCPL:by-sa)
+depends=(hicolor-icon-theme gtk-update-icon-cache librsvg)
+makedepends=(git gtk3)
+_commit=3ea65342a846b2b29fe6feedcd13e2ecc5b5c2b2  # tags/43^0
+source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  autoreconf -fvi
+}
+  
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+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