summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-09-10 08:59:18 -0600
committerMark Wagie2020-09-10 08:59:18 -0600
commit31242e24e707f486ad86a2bab57a2a282ee0d075 (patch)
tree6fa5bb22d9865b2e642060635760373527d6590a
parentfa9aba2e4e0c36fce28e2c9cb862445a40e94d65 (diff)
downloadaur-31242e24e707f486ad86a2bab57a2a282ee0d075.tar.gz
adjust pkgver, upstream build changes
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e898d07e814..6f00c3c46b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = oreo-cursors-git
pkgdesc = Color material cursors with cute animations.
- pkgver = 20200506
+ pkgver = 20200826.r61.df37556
pkgrel = 1
url = https://www.pling.com/p/1360254
arch = any
license = GPL2
makedepends = git
+ makedepends = ruby
makedepends = gtk-engine-murrine
makedepends = inkscape
makedepends = xorg-xcursorgen
diff --git a/PKGBUILD b/PKGBUILD
index 399f01deba1..4f99dc88c35 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=oreo-cursors-git
-pkgver=20200506
+pkgver=20200826.r61.df37556
pkgrel=1
pkgdesc="Color material cursors with cute animations."
arch=('any')
url="https://www.pling.com/p/1360254"
license=('GPL2')
-makedepends=('git' 'gtk-engine-murrine' 'inkscape' 'xorg-xcursorgen')
+makedepends=('git' 'ruby' 'gtk-engine-murrine' 'inkscape' 'xorg-xcursorgen')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
@@ -15,7 +15,8 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- make dist
+ printf "%s.r%s.%s" "$(git show -s --format=%cd --date=format:%Y%m%d HEAD)" \
+ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
@@ -24,11 +25,14 @@ prepare() {
}
build() {
+ cd "$srcdir/${pkgname%-git}/generator"
+ ruby convert.rb
+
cd "$srcdir/${pkgname%-git}"
make build
}
package() {
cd "$srcdir/${pkgname%-git}"
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
}