forked from archcraft-os/archcraft-berry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
52 lines (45 loc) · 1.24 KB
/
PKGBUILD
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
# Maintainer: Aditya Shakya <[email protected]>
pkgname=archcraft-berry
pkgver=1.0
pkgrel=4
pkgdesc="berry Configurations for Archcraft"
url="https://github.com/archcraft-os/archcraft-berry"
arch=('any')
license=('GPL3')
makedepends=('git')
depends=('berry-git'
'alacritty' 'thunar' 'geany'
'rofi' 'polybar' 'dunst'
'mpd' 'mpc'
'maim' 'xclip' 'viewnior'
'ksuperkey'
'betterlockscreen'
'picom-ibhagwan-git'
'xfce-polkit'
'xfce4-power-manager'
'sxhkd'
'hsetroot')
conflicts=()
provides=("${pkgname}")
options=(!strip !emptydirs)
install="${pkgname}.install"
prepare() {
cp -af ../files/. ${srcdir}
}
package() {
local _config=${pkgdir}/etc/skel/.config/berry
mkdir -p "$_config"
# Copy i3wm config files
cp -r ${srcdir}/alacritty "$_config"
cp -r ${srcdir}/bin "$_config"
cp -r ${srcdir}/polybar "$_config"
cp -r ${srcdir}/rofi "$_config"
cp -r ${srcdir}/wallpapers "$_config"
chmod +x "$_config"/bin/*
chmod +x "$_config"/rofi/bin/*
install -Dm 755 autostart "$_config"/autostart
install -Dm 644 dunstrc "$_config"/dunstrc
install -Dm 644 picom.conf "$_config"/picom.conf
install -Dm 644 sxhkdrc "$_config"/sxhkdrc
install -Dm 644 berry.desktop ${pkgdir}/usr/share/xsessions/berry.desktop
}