summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2021-08-26 17:55:44 +0200
committerFabioLolix2021-08-26 17:55:44 +0200
commit4cd8f8fb3334523159fa37bfc3e52dcaa833f050 (patch)
treef383d525746bb0e7c8f9621a7a9966e104cd4da2
parentcb8d6e155635b9fd5c9b77bd7f3216a2ccbf56da (diff)
downloadaur-libreelec-dvb-firmware-git.tar.gz
revision
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b9e50afc1cc..807dbfa09c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = libreelec-dvb-firmware-git
pkgdesc = DVB firmware from LibreELEC project (git)
- pkgver = 147.82f1b52
+ pkgver = 1.4.2.r1.g0eaf5b3
pkgrel = 1
+ epoch = 1
url = https://github.com/LibreELEC/dvb-firmware
arch = any
license = GPL3
@@ -15,4 +16,3 @@ pkgbase = libreelec-dvb-firmware-git
md5sums = SKIP
pkgname = libreelec-dvb-firmware-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 895a8958d0b..36e1d128858 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,12 @@
+# Maintainer:
+# Contributor: FabioLolix
+# Contributor: Daniel Albers
+
_reponame=dvb-firmware
pkgname=libreelec-dvb-firmware-git
-pkgver=147.82f1b52
+pkgver=1.4.2.r1.g0eaf5b3
pkgrel=1
+epoch=1
pkgdesc="DVB firmware from LibreELEC project (git)"
arch=('any')
url="https://github.com/LibreELEC/${_reponame}"
@@ -15,7 +20,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_reponame}"
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {