summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 235523af5fe7dd131b8ec80954ee80e700b3bdfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Maintainer: Ulises Jeremias Cornejo Fandos <ulisescf.24@gmail.com>
# Maintainer: Federico Ramon Gasquez <federicogasquez@gmail.com>
# Maintainer: Maria Macarena Lindo Poisson <maquipoisson@gmail.com>

fonts=(
	nerd-fonts-hack
	noto-fonts
	noto-fonts-cjk
	noto-fonts-emoji
	noto-fonts-extra
)

# Needed apps, themes and icons
needed_pkgs=(
	alacritty
	arc-gtk-theme
	arandr
	dbus-python
	feh
	flameshot
	graphicsmagick
	i3lock-fancy
	jgmenu
	jq
	networkmanager-dmenu
	network-manager-applet
	numix-icon-theme
	pacman-contrib
	pamixer
	pavucontrol
	playerctl
	polybar
	pulseaudio
	python-pywal
	rofi
	scrot
	skippy-xd
	sxiv
	wmctrl
	xdotool
	xgetres
	yad
	zsh
	zsh-syntax-highlighting-git
)

# xfce4 utils
xfce4_pkgs=(
	exo
	libxfce4ui
	libxfce4util
	xfce4-settings
	xfce4-xkb-plugin
	xfconf
	xfce4-notifyd
)

pkgname=dots-git
pkgver=1.1.12.r40.g1a9e9f7
pkgrel=1
pkgdesc="Dotfiles generator that allows quick configuration and managing of different tools and window managers in multiple OSs"
arch=(any)
url="https://github.com/ulises-jeremias/dotfiles"
license=('MIT')
depends=(git "${fonts[@]}" "${needed_pkgs[@]}" "${xfce4_pkgs[@]}")
optdepends=(
	"greenclip: Simple clipboard manager. Will be used in rofi"
	"bluez: Daemons for the bluetooth protocol stack. Needed for the bluetooth integration in polybar"
	"blueman: GTK+ Bluetooth Manager. Optional."
	"dunst: Customizable and lightweight notification-daemon. Will be used by default for notifications if installed"
	"termite: Simple terminal emulator"
	"thunar: Modern file manager for Xfce"
	"thunar-archive-plugin: Create and extract archives in Thunar"
	"thunar-media-tags-plugin: Adds special features for media files to the Thunar File Manager"
	"thunar-volman: Automatic management of removeable devices in Thunar"
	"xfce4-power-manager: Power manager for the Xfce4 desktop"
	"xfce4-screenshooter: An application to take screenshots"
)
provides=(dots)
conflicts=(dots)
source=("git+$url.git")
md5sums=('SKIP')

pkgver() {
	cd dotfiles || exit 1
	git fetch --tags
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd dotfiles || exit 1
	PKGNAME=dots
	PKGDIR="${pkgdir}"
	export PKGDIR PKGNAME
	sudo ./install
}