summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdalaziz Rashid2020-01-31 15:51:39 +0300
committerAbdalaziz Rashid2020-01-31 15:51:39 +0300
commit4547bcf7c849949cb8dd2ed960ac691ac13b0770 (patch)
treebe7e352ad6c4cd7b9b396fcc2f02d7f26b895774
parentcd157f69e8aa2fecd104d96bacc569bb6f838db1 (diff)
downloadaur-4547bcf7c849949cb8dd2ed960ac691ac13b0770.tar.gz
Adding ewmh patch
-rw-r--r--PKGBUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a2865408fed..23fd31ba393 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,9 @@
author=abdalazizrashid
pkgname=dwm-hidpi-git
_gitname=dwm-HiDPI
-pkgver=0.r1685.4e4080c
+pkgver=0.r1689.cd157f6
pkgrel=1
-pkgdesc='dwm fork intended for 4K displays'
+pkgdesc='A dwm fork intended for 4K displays'
url='https://github.com/abdalazizrashid/dwm-HiDPI'
arch=('any')
license=('MIT')
@@ -15,11 +15,15 @@ conflicts=('dwm')
provides=('dwm')
# include config.h and any patches you want to have applied here
-source=("git://github.com/$author/$_gitname.git")
+source=("git://github.com/$author/$_gitname.git"
+ "https://dwm.suckless.org/patches/ewmhtags/dwm-ewmhtags-6.2.diff")
-md5sums=('SKIP')
-sha1sums=('SKIP')
-sha256sums=('SKIP')
+md5sums=('SKIP'
+ '59670344f7cfc9b0de7853a88c3403af')
+sha1sums=('SKIP'
+ '68099d62819db00be5178031fcc7303356469958')
+sha256sums=('SKIP'
+ 'e027e683c074f4cd00c52f07c81be9d64d4085ef5b0a570b1fb80b8f4668c100')
pkgver() {
cd "$_gitname"
@@ -27,6 +31,12 @@ pkgver() {
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd "$_gitname"
+ patch -R -p1 -i "$srcdir/dwm-ewmhtags-6.2.diff"
+
+}
+
build() {
cd "$_gitname"
make
@@ -40,3 +50,4 @@ package() {
chmod -R 777 "$pkgdir/usr/share/$pkgname"
}
+