-pkgname=dwm-git
+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"
pkgver(){
cd $_pkgname
- git describe --tags |sed 's/-/./g'
+ echo $(git describe --tags |sed 's/-/./g')_$(md5sum $SRCDEST/config.h | cut -c1-7)
}
prepare() {
cd $_pkgname
- if [[ -f "$SRCDEST/$pkgname/config.h" ]]; then
- cp -f "$SRCDEST/$pkgname/config.h" config.h
+ if [[ -f "$SRCDEST/config.h" ]]; then
+ cp -f "$SRCDEST/config.h" config.h
fi
}