From 79c006b5c64171af414a29288add857e0b4d132d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 Apr 2020 21:35:26 -0700 Subject: [PATCH] Add meta-package for my X11 configuration With this meta-package it locks down which packages should be installed. --- .gitignore | 1 + .stowrc | 2 ++ GNUmakefile | 8 +++++++- x11/PKGBUILD | 18 ++++++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 x11/PKGBUILD diff --git a/.gitignore b/.gitignore index b25c15b..e049b96 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *~ +*.pkg.tar.xz diff --git a/.stowrc b/.stowrc index 05cea65..8459be5 100644 --- a/.stowrc +++ b/.stowrc @@ -2,3 +2,5 @@ --ignore GNUmakefile --ignore org --ignore .dir-locals.el +--ignore PKGBUILD +--ignore pkg.tar.xz diff --git a/GNUmakefile b/GNUmakefile index 9e66133..b9f831c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -12,7 +12,6 @@ clean: $(addsuffix -clean,$(MODULES)) zsh: $(MAKE) -C $@ -x11-install: lib-install %-install: % $(STOW) $< @@ -87,3 +86,10 @@ dunst/.config/dunst/dunstrc: dunst/.config/dunst/dunstrc.org dunst-clean: rm -f dunst/.config/dunst/dunstrc + +# X11 + +x11-install: lib-install x11/dot-x11-0-1-any.pkg.tar.xz + +x11/dot-x11-0-1-any.pkg.tar.xz: x11/PKGBUILD + cd x11 && makepkg -sicf diff --git a/x11/PKGBUILD b/x11/PKGBUILD new file mode 100644 index 0000000..4556084 --- /dev/null +++ b/x11/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Tom Willemse +pkgname=dot-x11 +pkgver=0 +pkgrel=1 +pkgdesc="Meta package for my X11 configuration" +arch=(any) +url='https://ryuslash.org/' +depends=( + m4 + xcursor-pixelfun + xorg-xrandr + xorg-xrdb +) +optdepends=( + 'kdeconnect: Connect your phone with your PC' + 'syncthing-gtk: See the status of Syncthing on your desktop' + "unclutter: Hide the cursor when you're typing" +)