summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 45029ce9452..2a395f0fc27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
_pkgname=dmenu
pkgname=$_pkgname-git
-pkgver=4.6.0.g32f2564
+pkgver=4.6.2.gbf3deb6
pkgrel=1
pkgdesc="A generic menu for X"
url="http://tools.suckless.org/dmenu/"
@@ -18,13 +18,21 @@ makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
source=(git://git.suckless.org/$_pkgname)
-md5sums=('SKIP')
+sha256sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --tags --long | sed 's/-/./g'
}
+prepare() {
+ cd $_pkgname
+ # to use a custom config.h, place it in the package directory
+ if [[ -f ${SRCDEST}/config.h ]]; then
+ cp "${SRCDEST}/config.h" .
+ fi
+}
+
build(){
cd $_pkgname
make \