diff options
author | éclairevoyant | 2022-12-02 23:21:43 -0500 |
---|---|---|
committer | éclairevoyant | 2022-12-02 23:21:43 -0500 |
commit | a89bb45961d4add19f3c1e06347c4a2677d45cdd (patch) | |
tree | 0d0eeeab5e0698a13e7bb49c78b921fadbe52f0b | |
parent | 6591d42b372186d226643513f0fa1944921c6d1f (diff) | |
download | aur-a89bb45961d4add19f3c1e06347c4a2677d45cdd.tar.gz |
adwaita-icon-theme-git: split package into cursors and icons
Signed-off-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 31 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = adwaita-icon-theme-git pkgdesc = GNOME standard icons - pkgver = 43.r60.g4f8e8dc69 + pkgver = 43.r68.g855de98ff pkgrel = 1 url = https://gitlab.gnome.org/GNOME/adwaita-icon-theme arch = any @@ -11,9 +11,18 @@ pkgbase = adwaita-icon-theme-git depends = hicolor-icon-theme depends = gtk-update-icon-cache depends = librsvg - provides = adwaita-icon-theme - conflicts = adwaita-icon-theme source = git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git b2sums = SKIP pkgname = adwaita-icon-theme-git + depends = hicolor-icon-theme + depends = gtk-update-icon-cache + depends = librsvg + depends = adwaita-cursors + provides = adwaita-icon-theme + conflicts = adwaita-icon-theme + +pkgname = adwaita-cursors-git + pkgdesc = GNOME standard cursors + provides = adwaita-cursors + conflicts = adwaita-cursors @@ -2,8 +2,9 @@ # Contributor: Philip Goto <philip dot goto at gmail.com> _pkgname=adwaita-icon-theme -pkgname="$_pkgname-git" -pkgver=43.r60.g4f8e8dc69 +pkgbase="$_pkgname-git" +pkgname=("$pkgbase" 'adwaita-cursors-git') +pkgver=43.r68.g855de98ff pkgrel=1 pkgdesc='GNOME standard icons' arch=('any') @@ -11,8 +12,6 @@ url="https://gitlab.gnome.org/GNOME/$_pkgname" license=('LGPL3' 'CCPL:by-sa') depends=('hicolor-icon-theme' 'gtk-update-icon-cache' 'librsvg') makedepends=('git' 'gtk3') -provides=("$_pkgname") -conflicts=("$_pkgname") source=("git+$url.git") b2sums=('SKIP') @@ -36,6 +35,21 @@ check() { make -C $_pkgname check } -package() { +package_adwaita-icon-theme-git() { + depends+=('adwaita-cursors') + provides=("$_pkgname") + conflicts=("$_pkgname") + make -C $_pkgname DESTDIR="$pkgdir" install + rm -rf "$pkgdir/usr/share/icons/Adwaita/cursors/" +} + +package_adwaita-cursors-git() { + pkgdesc='GNOME standard cursors' + unset depends + provides=('adwaita-cursors') + conflicts=('adwaita-cursors') + + install -dm755 "$pkgdir/usr/share/icons/Adwaita/" + cp -r --no-preserve=ownership $_pkgname/Adwaita/cursors "$pkgdir/usr/share/icons/Adwaita/" } |