summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-03-21 09:21:35 -0600
committerMark Wagie2021-03-21 09:21:35 -0600
commitedad2d5e5df37f0c7c5fcd54b8580eeb65c93b52 (patch)
treee4b5ed7ab662c164b8c46f621aa70d32b0bc28c4
parent3bccadb923f7f2be6cbbae21b27c53b5b2bd24ba (diff)
downloadaur-edad2d5e5df37f0c7c5fcd54b8580eeb65c93b52.tar.gz
set cursor sizes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 64651a21c7e..1976c60ab2f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bibata-cursor-theme
pkgdesc = Material Based Cursor Theme
pkgver = 1.1.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ful1e5/Bibata_Cursor
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 8fd95c50b16..2128d3fc3cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=bibata-cursor-theme
pkgver=1.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="Material Based Cursor Theme"
arch=('any')
url="https://github.com/ful1e5/Bibata_Cursor"
@@ -29,10 +29,12 @@ prepare() {
build() {
cd Bibata_Cursor-$pkgver/builder
_themes='Amber Classic Ice'
+ _sizes='22 24 28 32 40 48 56 64 72 80 88 96'
- for t in $_themes; do
- python build.py unix -p "../bitmaps/Bibata-Modern-$t"
- python build.py unix -p "../bitmaps/Bibata-Original-$t"
+ set -- ${_sizes}
+ for t in ${_themes}; do
+ python build.py unix -p "../bitmaps/Bibata-Modern-$t" --xsizes ${_sizes[@]}
+ python build.py unix -p "../bitmaps/Bibata-Original-$t" --xsizes ${_sizes[@]}
done
}