]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
upgpkg: dwm-git-custom 16.2_029b988-1
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 11 Mar 2019 23:10:06 +0000 (00:10 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 11 Mar 2019 23:10:06 +0000 (00:10 +0100)
Add checksum of the config file to version

dwm-git/.SRCINFO
dwm-git/PKGBUILD

index 76713cf8d374173c4f7222b9e128a47a13c65e1b..d6fdbc38db8016ba9feed2d905247a7781a08080 100644 (file)
@@ -1,6 +1,6 @@
 pkgbase = dwm-git-custom
        pkgdesc = A dynamic window manager for X
-       pkgver = 6.2
+       pkgver = 6.2_029b988
        pkgrel = 1
        epoch = 1
        url = http://dwm.suckless.org
index de2190b9743d9cb704e9736d5016432fa3586c30..44f68e8425259e843fcd569e7c467c1ca9cf9e40 100644 (file)
@@ -1,6 +1,6 @@
 pkgname=dwm-git-custom
 _pkgname=dwm
-pkgver=6.2
+pkgver=6.2_029b988
 pkgrel=1
 pkgdesc="A dynamic window manager for X"
 url="http://dwm.suckless.org"
@@ -20,7 +20,7 @@ md5sums=('939f403a71b6e85261d09fc3412269ee'
 
 pkgver(){
   cd $_pkgname
-  git describe --tags |sed 's/-/./g'
+  echo $(git describe --tags |sed 's/-/./g')_$(md5sum $SRCDEST/config.h | cut -c1-7)
 }
 
 prepare() {