summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lambiris2021-04-15 10:54:36 -0400
committerTony Lambiris2021-04-15 10:54:36 -0400
commit2d857ad7ae97ad9796fe9ac99b93680a49703417 (patch)
treef3e1e544b3c60a223c1fac3b0598655f3771a86a
parentb280b2d61465231dd813a25756881fdcfc72d667 (diff)
downloadaur-ant-dracula-theme-git.tar.gz
Version bump
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD13
3 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 25c4ebca427..e51cdb6a5e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ant-dracula-theme-git
pkgdesc = Dracula variant of the Ant theme
- pkgver = r76.b410891
+ pkgver = v2.0.r28.gd75888b
pkgrel = 1
url = https://github.com/EliverLara/Ant-Dracula
arch = any
diff --git a/.gitignore b/.gitignore
index b6a7aea9acb..bf7b730c3f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
src
pkg
Ant-Dracula
-*pkg.tar.xz
+*.pkg.tar.*
tags
diff --git a/PKGBUILD b/PKGBUILD
index c18e3e0a888..a86c5a37235 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ant-dracula-theme-git
_pkgname=Ant-Dracula
-pkgver=r76.b410891
+pkgver=v2.0.r28.gd75888b
pkgrel=1
pkgdesc="Dracula variant of the Ant theme"
arch=("any")
@@ -18,7 +18,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
@@ -37,12 +37,15 @@ build() {
msg2 "Rendering assets, please wait"
pushd gtk-2.0
while read $line; do echo -n "."; done < \
- <(./render-assets.sh; ); echo
+ <(./render-assets.sh 2>/dev/null); echo
popd
- pushd gtk-3.20/assets
+ pushd src
while read $line; do echo -n "."; done < \
- <(./render-gtk3-assets.py; ./render-gtk3-assets-hidpi.py); echo
+ <(./render-gtk3-assets.py 2>/dev/null; \
+ ./render-gtk3-assets-hidpi.py 2>/dev/null; \
+ ./render-wm-assets-hidpi.py 2>/dev/null; \
+ ./render-wm-assets.py 2>/dev/null); echo
popd
msg2 "Done!"