makedeb


chadwm-git 1b5198262022.04.14-5


making dwm as beautiful as possible

Click here to go back to the commit logs for chadwm-git.

Commit:


Hash: 519eeda6e26bd91db0687919e06568cf34b50df7

Message: update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 61a9d8c..88d46a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb-makepkg
 
 pkgbase = chadwm-git
 	pkgdesc = making dwm as beautiful as possible
-	pkgver = 1092021.09.14
-	pkgrel = 1
+	pkgver = 1152021.09.25
+	pkgrel = 2
 	url = https://github.com/siduck76/chadwm
 	arch = any
 	license = MIT
@@ -29,6 +29,8 @@ pkgbase = chadwm-git
 	provides = dwm
 	conflicts = dwm
 	source = git://github.com/siduck76/chadwm.git
-	sha256sums = SKIP
+	source = dwm.desktop
+	sha512sums = SKIP
+	sha512sums = 53d760b0e4dbb65f30e8f36283d751d99f8e1afaaf9e572d8f0b68ac51ed9fd67f9acec74aa17c75e5396ffbbc6771765a2e605647844f75153e7e90b512cfe2
 
 pkgname = chadwm-git
diff --git a/PKGBUILD b/PKGBUILD
index 7e35947..eeec9b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=chadwm-git
 _pkgname=chadwm
-pkgver=1092021.09.14
-pkgrel=1
+pkgver=1152021.09.25
+pkgrel=2
 pkgdesc="making dwm as beautiful as possible"
 arch=('any')
 depends=('maim' 'stterm' 'xbacklight' 'aptitude' 'tasksel')
@@ -14,8 +14,11 @@ optdepends=('fish: fish keybindings'
             'st-siduck76-git: siduck76s st build https://mpr.hunterwittenborn.com/packages/st-siduck76-git/')
 url="https://github.com/siduck76/chadwm"
 license=('MIT')
-source=("git://github.com/siduck76/chadwm.git")
-sha256sums=("SKIP")
+source=("git://github.com/siduck76/chadwm.git"
+          "dwm.desktop")
+sha512sums=("SKIP"
+            "53d760b0e4dbb65f30e8f36283d751d99f8e1afaaf9e572d8f0b68ac51ed9fd67f9acec74aa17c75e5396ffbbc6771765a2e605647844f75153e7e90b512cfe2" 
+  )
 provides=('dwm')
 conflicts=('dwm')
 # replaces=('dwm')
@@ -25,20 +28,23 @@ pkgver() {
     cd "${srcdir}/${_pkgname}"
     _commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
     _date=$(git log -1 --date=short --pretty=format:%cd)
-    printf "%s%s%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
+    printf "%s%s\n" "${_commits}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
 package() {
   cd ${srcdir}/${_pkgname}/${_pkgname}
   make DESTDIR="${pkgdir}" install
   install -d "${pkgdir}/$HOME/.dwm"
+  chown $USER ${pkgdir}/$HOME/.dwm
   #install -Dm755 "${srcdir}/${_pkgname}/.dwm/"* "${pkgdir}/$HOME/.dwm"
   mkdir -p "${pkgdir}/$HOME/.dwm/bars"
   install -Dm755 "${srcdir}/${_pkgname}/.dwm/bars/"*.sh "${pkgdir}/$HOME/.dwm/bars/"
+  chown $USER "${pkgdir}/$HOME/.dwm/bars"*
   install -Dm755 "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/$HOME/.dwm"
+  chown $USER  "${pkgdir}/$HOME/.dwm/layoutmenu.sh"
   install -Dm755 "${srcdir}/${_pkgname}/.dwm/autostart" "${pkgdir}/$HOME/.dwm"
-  install -Dm755 "${srcdir}/${_pkgname}/.dwm/autostart" "${pkgdir}/usr/local/bin/dwm-autostart"
-  install -Dm755 "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/usr/local/bin/layoutmenu.sh"
-  #install -Dm755 "${srcdir}/${_pkgname}/rofi/config.rasi" "${pkgdir}/$HOME/.config/rofi/config.rasi"
-  install -Dm644 "../../../dwm.desktop" "${pkgdir}/usr/share/xsessions/dwm.desktop"
+  chown $USER "${pkgdir}/$HOME/.dwm/autostart"
+  install -Dm755 "${srcdir}/${_pkgname}/.dwm/autostart" "${pkgdir}/usr/bin/dwm-autostart"
+  install -Dm755 "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/usr/bin/layoutmenu.sh"
+  install -Dm644 "${srcdir}/dwm.desktop" "${pkgdir}/usr/share/xsessions/dwm.desktop"
 }