diff options
author | Mark Wagie | 2021-04-02 08:57:29 -0600 |
---|---|---|
committer | Mark Wagie | 2021-04-02 08:57:29 -0600 |
commit | 1ba30886c0f5bc56602781924ea07e851e657b01 (patch) | |
tree | e0ea5716e49ee3e0c0f4053e479d16ddbd91d32d | |
parent | 6250078df8f397caaca4b2012ecb7a5f5fae61c6 (diff) | |
download | aur-1ba30886c0f5bc56602781924ea07e851e657b01.tar.gz |
add cursor theme
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 38 insertions, 18 deletions
@@ -1,18 +1,24 @@ pkgbase = fluent-icon-theme-git - pkgdesc = A Fluent design icon theme - pkgver = r2.28a7d9a + pkgver = r10.9e5e833 pkgrel = 1 - url = https://github.com/vinceliuice/Fluent-icon-theme arch = any license = GPL3 makedepends = git - depends = hicolor-icon-theme - depends = gtk-update-icon-cache - provides = fluent-icon-theme - conflicts = fluent-icon-theme options = !strip source = fluent-icon-theme::git+https://github.com/vinceliuice/Fluent-icon-theme.git sha256sums = SKIP pkgname = fluent-icon-theme-git + pkgdesc = A Fluent design icon theme + url = https://www.pling.com/p/1477945 + depends = hicolor-icon-theme + depends = gtk-update-icon-cache + provides = fluent-icon-theme + conflicts = fluent-icon-theme + +pkgname = fluent-cursor-theme-git + pkgdesc = An x-cursor theme inspired by Qogir theme and based on capitaine-cursors. + url = https://www.pling.com/p/1499852 + provides = fluent-cursor-theme + conflicts = fluent-cursor-theme @@ -1,26 +1,40 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> -pkgname=fluent-icon-theme-git -pkgver=r2.28a7d9a +pkgname=('fluent-icon-theme-git' 'fluent-cursor-theme-git') +pkgbase=fluent-icon-theme-git +pkgver=r10.9e5e833 pkgrel=1 -pkgdesc="A Fluent design icon theme" arch=('any') -url="https://github.com/vinceliuice/Fluent-icon-theme" license=('GPL3') -depends=('hicolor-icon-theme' 'gtk-update-icon-cache') makedepends=('git') -provides=("${pkgname%-git}") -conflicts=("${pkgname%-git}") options=('!strip') -source=("${pkgname%-git}::git+https://github.com/vinceliuice/Fluent-icon-theme.git") +source=("${pkgbase%-git}::git+https://github.com/vinceliuice/Fluent-icon-theme.git") sha256sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname%-git}" + cd "$srcdir/${pkgbase%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -package() { - cd "$srcdir/${pkgname%-git}" +package_fluent-icon-theme-git() { + pkgdesc="A Fluent design icon theme" + url="https://www.pling.com/p/1477945" + depends=('hicolor-icon-theme' 'gtk-update-icon-cache') + provides=("${pkgname%-git}") + conflicts=("${pkgname%-git}") + + cd "$srcdir/${pkgbase%-git}" install -d "$pkgdir/usr/share/icons" ./install.sh -a -d "$pkgdir/usr/share/icons" } + +package_fluent-cursor-theme-git() { + pkgdesc="An x-cursor theme inspired by Qogir theme and based on capitaine-cursors." + url="https://www.pling.com/p/1499852" + provides=("${pkgname%-git}") + conflicts=("${pkgname%-git}") + + cd "$srcdir/${pkgbase%-git}/cursors" + install -d "$pkgdir/usr/share/icons" + cp -r dist "$pkgdir/usr/share/icons/Fluent-cursors" + cp -r dist-dark "$pkgdir/usr/share/icons/Fluent-dark-cursors" +} |