summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Wagie2021-08-15 09:37:37 -0600
committerMark Wagie2021-08-15 09:37:37 -0600
commit35f8e6eaed14abe1a053a690caac0d21f14f3737 (patch)
tree32d6aa289d13935cbfbdb3523493f5e53fcf5ef5 /PKGBUILD
parent1ba30886c0f5bc56602781924ea07e851e657b01 (diff)
downloadaur-fluent-icon-theme-git.tar.gz
use tags
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 19 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4ed37c987a2..6828f6951f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,40 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=('fluent-icon-theme-git' 'fluent-cursor-theme-git')
pkgbase=fluent-icon-theme-git
-pkgver=r10.9e5e833
+pkgver=2021.08.15.r2.g381a55d
pkgrel=1
arch=('any')
license=('GPL3')
+depends=('hicolor-icon-theme' 'gtk-update-icon-cache')
makedepends=('git')
options=('!strip')
source=("${pkgbase%-git}::git+https://github.com/vinceliuice/Fluent-icon-theme.git")
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/${pkgbase%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$srcdir/${pkgbase%-git}"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
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}")
+ pkgdesc="A Fluent design icon theme"
+ url="https://www.pling.com/p/1477945"
+ provides=("${pkgname%-git}")
+ conflicts=("${pkgname%-git}")
- cd "$srcdir/${pkgbase%-git}"
- install -d "$pkgdir/usr/share/icons"
- ./install.sh -a -d "$pkgdir/usr/share/icons"
+ 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}")
+ 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"
+ 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"
}