Skip to content

Instantly share code, notes, and snippets.

Created May 8, 2013 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5543207 to your computer and use it in GitHub Desktop.
Save anonymous/5543207 to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index c8a85b7..9d0639f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,9 +14,10 @@
# Brcha
# Lyle Putnam
# Det
+# Boohbah
pkgname=plymouth-git
-pkgver=20130426
+pkgver=0.8.8.26.gf2b74ce
pkgrel=1
pkgdesc="A graphical boot splash screen with kernel mode-setting support (Git version)"
url="http://cgit.freedesktop.org/cgit/plymouth/"
@@ -74,7 +75,7 @@ md5sums=('SKIP'
pkgver() {
cd "$srcdir"/${pkgname%%-*}
- git log -1 --format="%cd" --date=short | tr -d '-'
+ git describe --always | sed 's/-/./g'
}
prepare() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment