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: 3114eda2322b5f9d32ebc4865df61dac0c210fdf

Message: slight enhancements

Diff


diff --git a/.SRCINFO b/.SRCINFO
index b968bb5..e49bbc9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb-makepkg
 
 pkgbase = chadwm-git
 	pkgdesc = making dwm as beautiful as possible
-	pkgver = 862021.08.18
-	pkgrel = 1
+	pkgver = 962021.08.29
+	pkgrel = 2
 	url = https://github.com/siduck76/chadwm
 	arch = any
 	license = MIT
@@ -15,6 +15,7 @@ pkgbase = chadwm-git
 	makedepends = xorg
 	makedepends = nerd-fonts-jetbrains-mono
 	makedepends = fonts-material-design-icons-iconfont
+	makedepends = libimlib2-dev
 	depends = maim
 	depends = stterm
 	optdepends = fish: fish keybindings
diff --git a/PKGBUILD b/PKGBUILD
index efac037..2b569f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,13 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=chadwm-git
 _pkgname=chadwm
-pkgver=862021.08.18
-pkgrel=1
+#pkgver=862021.08.18
+pkgver=962021.08.29
+pkgrel=2
 pkgdesc="making dwm as beautiful as possible"
 arch=('any')
 depends=('maim' 'stterm')
-makedepends=('make' 'gcc' 'libx11-dev' 'libxft-dev' 'libxinerama-dev' 'xorg' 'nerd-fonts-jetbrains-mono' 'fonts-material-design-icons-iconfont')
+makedepends=('make' 'gcc' 'libx11-dev' 'libxft-dev' 'libxinerama-dev' 'xorg' 'nerd-fonts-jetbrains-mono' 'fonts-material-design-icons-iconfont' 'libimlib2-dev')
 optdepends=('fish: fish keybindings'
             'fzf-extras: fzf keybindings from junegunn wiki and dotfiles'
             'tmux: fzf-tmux script for launching fzf in a tmux pane'
@@ -32,9 +33,12 @@ package() {
   cd ${srcdir}/${_pkgname}/${_pkgname}
   make DESTDIR="${pkgdir}" install
   install -d "${pkgdir}/$HOME/.dwm"
-  install -Dm755 "${srcdir}/${_pkgname}/.dwm/"* "${pkgdir}/$HOME/.dwm"
-  install -Dm755 "${srcdir}/${_pkgname}/.dwm/autostart" "${pkgdir}/usr/bin/dwm-autostart"
-  install -Dm755 "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/usr/bin/layoutmenu.sh"
+  #install -Dm755 "${srcdir}/${_pkgname}/.dwm/"* "${pkgdir}/$HOME/.dwm"
+  cp -r "${srcdir}/${_pkgname}/.dwm/bars" "${pkgdir}/$HOME/.dwm"
+  cp -r "${srcdir}/${_pkgname}/.dwm/layoutmenu.sh" "${pkgdir}/$HOME/.dwm"
+  cp -r "${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 -d "${pkgdir}/usr/share/xsessions"
   touch "${pkgdir}/usr/share/xsessions/dwm.desktop"
   echo -e "[Desktop Entry]\nName=dwm\nComment=suckless build of dwm by siduck76\nExec=/usr/bin/dwm-autostart\nType=Application" > "${pkgdir}/usr/share/xsessions/dwm.desktop"