blob: 0bba14f9c515cdf9e5bea71e418cb60875e28bcd (
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
|
# Maintainer: Stephan Raabe <mail@ml4w.com>
pkgname='ml4w-hyprland-git'
pkgver=2.9.6.7.r62.g0ddf097
pkgrel=1
pkgdesc="The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions. "
arch=(any)
url="https://github.com/mylinuxforwork/dotfiles"
license=('GPL')
options=(!strip)
depends=(
"pacman-contrib"
"wget"
"zip"
"unzip"
"gum"
"rsync"
"git"
"figlet"
"stow"
"sed"
"vim"
"xdg-user-dirs"
"man-pages"
"networkmanager"
"bluez"
"bluez-utils"
"hyprland"
"hyprpaper"
"hyprlock"
"hypridle"
"noto-fonts"
"xdg-desktop-portal"
"xdg-desktop-portal-hyprland"
"libnotify"
"dunst"
"kitty"
"qt5-wayland"
"qt6-wayland"
)
conflicts=('ml4w-hyprland')
makedepends=(git)
source=("${pkgname}::git+https://github.com/mylinuxforwork/dotfiles.git")
md5sums=('SKIP')
pkgver() {
#version
cd "$pkgname"
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
# share
install -dm 755 ${pkgdir}/usr/share/ml4w-hyprland
cp -r ${srcdir}/${pkgname}/share/. ${pkgdir}/usr/share/ml4w-hyprland
# lib
install -dm 755 ${pkgdir}/usr/lib/ml4w-hyprland
cp -r ${srcdir}/${pkgname}/lib/. ${pkgdir}/usr/lib/ml4w-hyprland
# bin
install -Dm 755 ${srcdir}/${pkgname}/bin/ml4w-hyprland-setup ${pkgdir}/usr/bin/ml4w-hyprland-setup
# license
install -Dm 755 ${srcdir}/${pkgname}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
# doc
install -Dm 755 ${srcdir}/${pkgname}/README.md ${pkgdir}/usr/share/doc/${pkgname}/README.md
# message
echo
echo ":: ML4W Dotfiles for Hyprland"
echo ":: --------------------------"
echo ":: Please execute the command ml4w-hyprland-setup when the installation of the packages is complete."
echo ":: You can start Hyprland already with command Hyprland or from your display manager."
echo
}
|