summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdalaziz Rashid2020-01-31 15:51:39 +0300
committerAbdalaziz Rashid2020-01-31 18:46:17 +0300
commit0decfd5330c469e2f9abeda9621b42cfd36fda0f (patch)
treeb4698aea90bb63b8c582ee93e87c3bf314e2bdac
parentcd157f69e8aa2fecd104d96bacc569bb6f838db1 (diff)
downloadaur-0decfd5330c469e2f9abeda9621b42cfd36fda0f.tar.gz
Adding ewmh patch
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD23
2 files changed, 23 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a0c9663016c..c051dd4231e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dwm-hidpi-git
- pkgdesc = dwm fork intended for 4K displays
- pkgver = 0.r1685.4e4080c
+ pkgdesc = A dwm fork intended for 4K displays
+ pkgver = 0.r1689.cd157f6
pkgrel = 1
url = https://github.com/abdalazizrashid/dwm-HiDPI
arch = any
@@ -14,9 +14,13 @@ pkgbase = dwm-hidpi-git
provides = dwm
conflicts = dwm
source = git://github.com/abdalazizrashid/dwm-HiDPI.git
+ source = https://dwm.suckless.org/patches/ewmhtags/dwm-ewmhtags-6.2.diff
md5sums = SKIP
+ md5sums = 59670344f7cfc9b0de7853a88c3403af
sha1sums = SKIP
+ sha1sums = 68099d62819db00be5178031fcc7303356469958
sha256sums = SKIP
+ sha256sums = e027e683c074f4cd00c52f07c81be9d64d4085ef5b0a570b1fb80b8f4668c100
pkgname = dwm-hidpi-git
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"
}
+