aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-04-26 21:35:26 -0700
committerGravatar Tom Willemse2020-04-26 21:35:26 -0700
commit79c006b5c64171af414a29288add857e0b4d132d (patch)
tree99b624270cd88db53082807a85852d04e7b9d1ae
parent5bb0014265536ee59a9d63625f716257bdd2785c (diff)
downloadnew-dotfiles-79c006b5c64171af414a29288add857e0b4d132d.tar.gz
new-dotfiles-79c006b5c64171af414a29288add857e0b4d132d.zip
Add meta-package for my X11 configuration
With this meta-package it locks down which packages should be installed.
-rw-r--r--.gitignore1
-rw-r--r--.stowrc2
-rw-r--r--GNUmakefile8
-rw-r--r--x11/PKGBUILD18
4 files changed, 28 insertions, 1 deletions
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 <tom@ryuslash.org>
+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"
+)