summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 14 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 338f1d22a79..72339854066 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sun Jan 3 15:29:36 UTC 2016
pkgbase = dmenu-git
pkgdesc = A generic menu for X
- pkgver = 4.6.0.g32f2564
+ pkgver = 4.6.2.gbf3deb6
pkgrel = 1
url = http://tools.suckless.org/dmenu/
arch = i686
@@ -13,7 +15,7 @@ pkgbase = dmenu-git
provides = dmenu
conflicts = dmenu
source = git://git.suckless.org/dmenu
- md5sums = SKIP
+ sha256sums = SKIP
pkgname = dmenu-git
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 \