summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShatur952020-01-13 02:40:27 +0200
committerShatur952020-01-13 02:40:27 +0200
commitef9a3f2a4198fed73a04e5b3964bff12bed7c644 (patch)
treef781be30ccad1a978c1aeb9d6949c4d9b3c9819f
parent1295cfa1ad65e98ca63481ae4318a29940a4c4d7 (diff)
downloadaur-ef9a3f2a4198fed73a04e5b3964bff12bed7c644.tar.gz
Update to 0.4.2
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD42
2 files changed, 36 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6c89935e977..c8fcd5f21ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = bibata-cursor-theme
- pkgdesc = Material Based Cursor Theme.
- pkgver = 0.4.1
+ pkgdesc = Material Based Cursor Theme
+ pkgver = 0.4.2
pkgrel = 1
- url = https://github.com/KaizIqbal/Bibata_Cursor.git
+ url = https://github.com/KaizIqbal/Bibata_Cursor
arch = any
- license = GPL
+ license = GPL3
+ makedepends = python-pillow
makedepends = inkscape
- makedepends = gnome-themes-extra
- makedepends = gtk-engine-murrine
makedepends = xorg-xcursorgen
- source = https://github.com/KaizIqbal/Bibata_Cursor/archive/v0.4.1.tar.gz
- sha256sums = 01d06515f6139d796820cb4ca121185ee65a8789bfdd88e0600bcd749e3eea3b
+ source = bibata-cursor-theme-0.4.2.tar.gz::https://github.com/KaizIqbal/Bibata_Cursor/archive/v0.4.2.tar.gz
+ sha256sums = d00f91ebefa34d5c7d578c78a17825238fcb90540de0dbf4cf3ffb587e1ae976
pkgname = bibata-cursor-theme
diff --git a/PKGBUILD b/PKGBUILD
index c316b249f85..20839acf1c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,38 @@
+# Maintainer: Shatur95 <genaloner@gmail.com>
+# Co-Maintainer: Mark Wagie <mark.wagie@tutanota.com>
+
pkgname=bibata-cursor-theme
-pkgver=0.4.1
+pkgver=0.4.2
pkgrel=1
-pkgdesc="Material Based Cursor Theme."
+pkgdesc="Material Based Cursor Theme"
arch=('any')
-url="https://github.com/KaizIqbal/Bibata_Cursor.git"
-license=('GPL')
-makedepends=('inkscape' 'gnome-themes-extra' 'gtk-engine-murrine' 'xorg-xcursorgen')
-source=("https://github.com/KaizIqbal/Bibata_Cursor/archive/v${pkgver}.tar.gz")
-sha256sums=('01d06515f6139d796820cb4ca121185ee65a8789bfdd88e0600bcd749e3eea3b')
+url="https://github.com/KaizIqbal/Bibata_Cursor"
+license=('GPL3')
+makedepends=('python-pillow' 'inkscape' 'xorg-xcursorgen')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('d00f91ebefa34d5c7d578c78a17825238fcb90540de0dbf4cf3ffb587e1ae976')
+
+_variants=(Bibata_Amber Bibata_Classic Bibata_Ice Bibata_Oil)
build() {
- cd "$srcdir/Bibata_Cursor-${pkgver}"
- ./build.sh
+ 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
}
package() {
- mkdir -p "$pkgdir/usr/share/icons"
- mv "$srcdir/Bibata_Cursor-${pkgver}/Bibata_Ice" "$pkgdir/usr/share/icons/Bibata_Ice"
- mv "$srcdir/Bibata_Cursor-${pkgver}/Bibata_Oil" "$pkgdir/usr/share/icons/Bibata_Oil"
- mv "$srcdir/Bibata_Cursor-${pkgver}/Bibata_Amber" "$pkgdir/usr/share/icons/Bibata_Amber"
+ 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
}