summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoliathLabs2020-05-06 21:15:42 +0200
committerGoliathLabs2020-05-06 21:15:42 +0200
commitb701006eaec7462e1c0869bb1463d450f9e4d35f (patch)
treed6ff5121c5e6ec533f2a808655ce9c4259758711
parente07c50f616c4d91e480695a5a167e5dcb66d2496 (diff)
downloadaur-b701006eaec7462e1c0869bb1463d450f9e4d35f.tar.gz
Updated: PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 214c08678838..ec91ce81c2b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = betterdiscord
pkgdesc = Discord extension that introduces new features like BTTV emotes and plugin support.
- pkgver = 0.2.82.r450.1a6648eb
+ pkgver = 0.3.0i.r0.g4114a6e
pkgrel = 1
url = https://betterdiscord.net/home/
install = BetterDiscord.install
diff --git a/PKGBUILD b/PKGBUILD
index 59db18d5a858..e830330fb32a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,8 @@
# http://www.simonizor.gq/discorddownloader.html
pkgname=betterdiscord
-pkgver=0.2.82.r450.1a6648eb
+_pkgname=BetterDiscordApp
+pkgver=0.3.0i.r0.g4114a6e
pkgrel=1
pkgdesc='Discord extension that introduces new features like BTTV emotes and plugin support.'
arch=('any')
@@ -18,6 +19,11 @@ source=('git+https://github.com/Jiiks/BetterDiscordApp.git#commit=4114a6ee266d7e
sha512sums=('SKIP'
'e2bb20271117ebef69eab2d505204dcfb83334e596c5ce02e5f5e1950ba502b9485ebb2005f9df74ac692ba4a99cce869942611b07bba4d588247d53bd21efcc')
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
package() {
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"