dk: new port

This commit is contained in:
Luis
2023-07-04 15:46:01 +00:00
parent 2ee33a6e7a
commit ebbdb4df22
5 changed files with 51 additions and 0 deletions

2
main/dk/.checksums Normal file
View File

@@ -0,0 +1,2 @@
d8d4e78e78c3306ee22f8f2bf11ea554 dk-1.6.tar.gz
d7b2f8a17486185790e9ae902eb2e5d8 dk.desktop

12
main/dk/.pkgfiles Normal file
View File

@@ -0,0 +1,12 @@
dk-1.6-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/dk
-rwxr-xr-x root/root usr/bin/dkcmd
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/dk.1.gz
lrwxrwxrwx root/root usr/share/man/man1/dkcmd.1.gz -> dk.1.gz
drwxr-xr-x root/root usr/share/xsessions/
-rw-r--r-- root/root usr/share/xsessions/dk.desktop

5
main/dk/dk.desktop Normal file
View File

@@ -0,0 +1,5 @@
[Desktop Entry]
Name=dk
Comment=dk tiling window manager
Exec=dk
Type=XSession

14
main/dk/post-install.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
cat << EOF
Get started with dk using the example rc files:
$ mkdir -p ~/.config/dk ~/.config/sxhkd
$ cp /usr/share/doc/dk/dkrc ~/.config/dk/
$ cp /usr/share/doc/dk/sxhkdrc ~/.config/sxhkd/
For more information, see dk(1) or
https://bitbucket.org/natemaia/dk/src/master/README.md
EOF

18
main/dk/spkgbuild Normal file
View File

@@ -0,0 +1,18 @@
# description : Tiling window manager taking inspiration from dwm, bspwm, and xmonad
# homepage : https://bitbucket.org/natemaia/dk
# depends : libxcb xcb-util xcb-util-wm xcb-util-cursor xcb-util-keysyms
name=dk
version=1.6
release=1
source="$name-$version.tar.gz::https://bitbucket.org/natemaia/dk/get/v$version.tar.gz
dk.desktop"
build() {
cd natemaia-dk-9d5cec90f346
make PREFIX=/usr
make PREFIX=/usr DESTDIR=$PKG install
install -d 644 $PKG/usr/share/xsessions
install -Dm 644 $SRC/dk.desktop $PKG/usr/share/xsessions/dk.desktop
}