summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74f27ead650611a7c1d54d88d0f1847a11250564 (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
# Maintainer: Stephan Raabe <mail@ml4w.com>
pkgname='ml4w-hyprland'
pkgver=2.9.6.7
pkgrel=4
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-git')
makedepends=()
source=("${pkgname}-${pkgver}::https://github.com/mylinuxforwork/dotfiles/archive/refs/tags/${pkgver}.tar.gz")
md5sums=('SKIP')

package() {

    # share
	install -dm 755 ${pkgdir}/usr/share/ml4w-hyprland
	cp -r ${srcdir}/dotfiles-${pkgver}/share/. ${pkgdir}/usr/share/ml4w-hyprland

    # lib
	install -dm 755 ${pkgdir}/usr/lib/ml4w-hyprland
	cp -r ${srcdir}/dotfiles-${pkgver}/lib/. ${pkgdir}/usr/lib/ml4w-hyprland

    # bin
    install -Dm 755 ${srcdir}/dotfiles-${pkgver}/bin/ml4w-hyprland-setup ${pkgdir}/usr/bin/ml4w-hyprland-setup

    # license
    install -Dm 755 ${srcdir}/dotfiles-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE

    # doc
    install -Dm 755 ${srcdir}/dotfiles-${pkgver}/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

}