summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-10-06 08:52:55 -0600
committerMark Wagie2020-10-06 08:52:55 -0600
commit1986052984ba67b4bbb3d15a05367b94fad72f15 (patch)
tree167345d87f97de910dba8e2d1900183d2369d00c
parent07fc747617bfdc66d9e87b3f701a204985871129 (diff)
downloadaur-1986052984ba67b4bbb3d15a05367b94fad72f15.tar.gz
change build process
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD34
2 files changed, 25 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7eea657f326..415ac2324ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,17 @@
pkgbase = bibata-cursor-theme
pkgdesc = Material Based Cursor Theme
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ful1e5/Bibata_Cursor
arch = any
license = GPL3
makedepends = python-clickgen
- makedepends = yarn
- makedepends = npm
- makedepends = alsa-lib
- makedepends = gtk3
- makedepends = libcups
- makedepends = libxss
- makedepends = libxtst
- makedepends = nss
+ noextract = bitmaps.zip
options = !strip
source = bibata-cursor-theme-1.0.0.tar.gz::https://github.com/ful1e5/Bibata_Cursor/archive/v1.0.0.tar.gz
+ source = https://github.com/ful1e5/Bibata_Cursor/releases/download/v1.0.0/bitmaps.zip
sha256sums = 5e694dafa6d0a338bb744d43d09b0d31fc55f105b3659754ea226d170b590999
+ sha256sums = 629f7a5042d704c6aa5518e4327ef62e20528625354aaf459eda75765a0a7fa8
pkgname = bibata-cursor-theme
diff --git a/PKGBUILD b/PKGBUILD
index 7f508a96bab..5bf9464d23f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,38 @@
# Maintainer: Shatur95 <genaloner@gmail.com>
# Co-Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
+# Contributor: ful1e5 <kaizmandhu at gmail dot com>
pkgname=bibata-cursor-theme
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Material Based Cursor Theme"
arch=('any')
url="https://github.com/ful1e5/Bibata_Cursor"
license=('GPL3')
-makedepends=('python-clickgen' 'yarn' 'npm' 'alsa-lib' 'gtk3' 'libcups'
- 'libxss' 'libxtst' 'nss')
+makedepends=('python-clickgen')
options=('!strip')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('5e694dafa6d0a338bb744d43d09b0d31fc55f105b3659754ea226d170b590999')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+ "$url/releases/download/v$pkgver/bitmaps.zip")
+noextract=('bitmaps.zip')
+sha256sums=('5e694dafa6d0a338bb744d43d09b0d31fc55f105b3659754ea226d170b590999'
+ '629f7a5042d704c6aa5518e4327ef62e20528625354aaf459eda75765a0a7fa8')
+
+prepare() {
+ cd Bibata_Cursor-$pkgver
+ mkdir -p bitmaps
+ bsdtar -xvf "$srcdir"/bitmaps.zip -C bitmaps
+
+ rm -rf themes
+}
build() {
- cd "$srcdir/Bibata_Cursor-$pkgver"
- yarn install --cache-folder "$srcdir/yarn-cache"
- yarn render:bibata-modern
- yarn render:bibata-original
- yarn build
+ cd Bibata_Cursor-$pkgver
+ python build.py
}
package() {
- cd "$srcdir/Bibata_Cursor-$pkgver"
- install -d "$pkgdir/usr/share/icons"
- cp -r themes/Bibata-* "$pkgdir/usr/share/icons"
+ cd Bibata_Cursor-$pkgver
+ install -d "$pkgdir"/usr/share/icons
+ cp -r themes/Bibata-* "$pkgdir"/usr/share/icons
chmod -R 755 "$pkgdir"/usr/share/icons/Bibata-*
}