dwm/PKGBUILD

51 lines
2.0 KiB
Bash
Raw Permalink Normal View History

# Maintainer: Jef Roosens
pkgname=jjr-dwm
pkgver=6.3
2022-03-05 10:36:22 +01:00
pkgrel=2
pkgdesc="Personal build of the Dynamic Window Manager."
arch=("x86_64")
url="https://git.rustybever.be/Chewing_Bever/dwm"
license=("MIT")
depends=("libx11" "libxinerama" "libxft" "freetype2" "dmenu")
optdepends=("jjr-st")
makedepends=("clang")
provides=("dwm")
conflicts=("dwm" "dwm-git")
source=("config.def.h" "config.h" "config.mk" "drw.c" "drw.h" "dwm.1" "dwm.c"
"LICENSE" "Makefile" "transient.c" "util.c" "util.h" "dwm.desktop" "README")
sha256sums=('f662413dd3882e83a8d1bd6165abdf1c78f358a9100e875b0c6633d41f65f224'
'0fc893d4cbb2955411d047773a75269ef318d04ec2477624f01158dea539703b'
2022-03-05 10:35:17 +01:00
'ef25274594d8b381a2f0ba6c76b88583abebe7004794d73e387a7494f142fabc'
'85cc51a6a392a81d6073ff8d994200651cb8042b3bed93ce19e565ab752f8dae'
'137808b0e48f4acd8672678172edf16839ff0b4c13b7721deddb920a0d553fd7'
'216e0326791ac90a16549d39514d42cda0dfd5524df1ad511326a472cbd0f816'
'fcb808784839c38457a4e2834de2ddf730ccfbe9ef3ee85b55df01169998358f'
'b99adfc25cce6d62c1cc72a3105bb5d913a2faa40f172c14cfb204067f08c939'
'f5c9137d07849db36942045df9be4f71727207cd90e7cc45aeffcf3c2469b9dc'
'54c37c558613ab3da856b19c4b4c0c56c224133a253bf5fa6557b489da545d7c'
'dec870d0b5834c9008ff62f495710daf524cffdf12d0cf8ba4fadf5643623987'
'1196a7b6efbf4cb3f5c435fffd72e7647f977483845d5c78c1c48d9ab8b96819'
'bc36426772e1471d6dd8c8aed91f288e16949e3463a9933fee6390ee0ccd3f81'
'f0384e29e3f249fcd52a30c35c722fca50e9fabfdeb7725f4073e05170358d86')
build() {
make
}
package() {
local installopts='--mode 0644 -D --target-directory'
local shrdir="$pkgdir/usr/share"
local licdir="$shrdir/licenses/$pkgname"
local docdir="$shrdir/doc/$pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
install $installopts "$licdir" "LICENSE"
install $installopts "$docdir" "README"
install $installopts "$pkgdir/usr/share/xsessions" "dwm.desktop"
}