diff --git a/main/dk/.checksums b/main/dk/.checksums new file mode 100644 index 000000000..b87058f09 --- /dev/null +++ b/main/dk/.checksums @@ -0,0 +1,2 @@ +d8d4e78e78c3306ee22f8f2bf11ea554 dk-1.6.tar.gz +d7b2f8a17486185790e9ae902eb2e5d8 dk.desktop diff --git a/main/dk/.pkgfiles b/main/dk/.pkgfiles new file mode 100644 index 000000000..39a6c4364 --- /dev/null +++ b/main/dk/.pkgfiles @@ -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 diff --git a/main/dk/dk.desktop b/main/dk/dk.desktop new file mode 100644 index 000000000..09e12466f --- /dev/null +++ b/main/dk/dk.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=dk +Comment=dk tiling window manager +Exec=dk +Type=XSession diff --git a/main/dk/post-install.sh b/main/dk/post-install.sh new file mode 100644 index 000000000..c3ba952d8 --- /dev/null +++ b/main/dk/post-install.sh @@ -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 diff --git a/main/dk/spkgbuild b/main/dk/spkgbuild new file mode 100644 index 000000000..05fa1cd95 --- /dev/null +++ b/main/dk/spkgbuild @@ -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 +} +