summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-10-03 10:27:12 -0600
committerMark Wagie2020-10-03 10:27:12 -0600
commite0d30952db2e305c19876ad4f48e60cfbc69b216 (patch)
tree6def2b0a26e8d1d151be9d19705d6e434965cc8d
parentb7fdcb76706f6ac46a6d2d728e7130828f856f96 (diff)
downloadaur-e0d30952db2e305c19876ad4f48e60cfbc69b216.tar.gz
1.0.0
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD31
2 files changed, 18 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 81721168e18..6427c311c31 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,16 @@
pkgbase = bibata-cursor-theme
pkgdesc = Material Based Cursor Theme
- pkgver = 0.4.2
+ pkgver = 1.0.0
pkgrel = 1
url = https://github.com/ful1e5/Bibata_Cursor
arch = any
license = GPL3
- makedepends = python-pillow
- makedepends = inkscape
- makedepends = xorg-xcursorgen
- source = bibata-cursor-theme-0.4.2.tar.gz::https://github.com/ful1e5/Bibata_Cursor/archive/v0.4.2.tar.gz
- sha256sums = d00f91ebefa34d5c7d578c78a17825238fcb90540de0dbf4cf3ffb587e1ae976
+ makedepends = python-clickgen
+ makedepends = yarn
+ makedepends = npm
+ options = !strip
+ source = bibata-cursor-theme-1.0.0.tar.gz::https://github.com/ful1e5/Bibata_Cursor/archive/v1.0.0.tar.gz
+ sha256sums = 5e694dafa6d0a338bb744d43d09b0d31fc55f105b3659754ea226d170b590999
pkgname = bibata-cursor-theme
diff --git a/PKGBUILD b/PKGBUILD
index 48fbf05e8a3..401106ba611 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,29 @@
# Maintainer: Shatur95 <genaloner@gmail.com>
-# Co-Maintainer: Mark Wagie <mark.wagie@tutanota.com>
+# Co-Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=bibata-cursor-theme
-pkgver=0.4.2
+pkgver=1.0.0
pkgrel=1
pkgdesc="Material Based Cursor Theme"
arch=('any')
url="https://github.com/ful1e5/Bibata_Cursor"
license=('GPL3')
-makedepends=('python-pillow' 'inkscape' 'xorg-xcursorgen')
+makedepends=('python-clickgen' 'yarn' 'npm')
+options=('!strip')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('d00f91ebefa34d5c7d578c78a17825238fcb90540de0dbf4cf3ffb587e1ae976')
-
-_variants=(Bibata_Amber Bibata_Classic Bibata_Ice Bibata_Oil)
+sha256sums=('5e694dafa6d0a338bb744d43d09b0d31fc55f105b3659754ea226d170b590999')
build() {
cd "$srcdir/Bibata_Cursor-$pkgver"
-
- for variant in ${_variants[*]}
- do
- echo "Building $variant..."
- python render-cursors.py ./src/$variant/source-cursors.svg -o -a --name $variant
- ./tweak.sh $variant
- ./x11-make.sh $variant
- cp src/$variant/*.theme $variant/out/X11/$variant
- done
+ yarn install --cache-folder "$srcdir/yarn-cache"
+ yarn render:bibata-modern
+ yarn render:bibata-original
+ yarn build
}
package() {
cd "$srcdir/Bibata_Cursor-$pkgver"
-
install -d "$pkgdir/usr/share/icons"
- for variant in ${_variants[*]}
- do
- cp -a $variant/out/X11/$variant "$pkgdir/usr/share/icons"
- done
+ cp -r themes/Bibata-* "$pkgdir/usr/share/icons"
+ chmod -R 755 "$pkgdir"/usr/share/icons/Bibata-*
}