From: Ismaƫl Bouya Date: Mon, 11 Mar 2019 23:10:06 +0000 (+0100) Subject: upgpkg: dwm-git-custom 16.2_029b988-1 X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAUR.git;a=commitdiff_plain;h=c5ce61acaeeeaafb7f84dc2f36575c34803b1bc9 upgpkg: dwm-git-custom 16.2_029b988-1 Add checksum of the config file to version --- diff --git a/dwm-git/.SRCINFO b/dwm-git/.SRCINFO index 76713cf..d6fdbc3 100644 --- a/dwm-git/.SRCINFO +++ b/dwm-git/.SRCINFO @@ -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 diff --git a/dwm-git/PKGBUILD b/dwm-git/PKGBUILD index de2190b..44f68e8 100644 --- a/dwm-git/PKGBUILD +++ b/dwm-git/PKGBUILD @@ -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() {