mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 02:05:58 +01:00
Update PKGBUILD-git
This commit is contained in:
parent
92da453d4d
commit
d0ca043122
1 changed files with 9 additions and 33 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Maintainer: ThatOneCalculator <kainoa@t1c.dev>, Sander van Kasteel <info@sandervankasteel.nl>
|
# Maintainer: ThatOneCalculator <kainoa@t1c.dev>
|
||||||
|
|
||||||
_pkgname="hyprland"
|
_pkgname="hyprland"
|
||||||
pkgname="${_pkgname}-git"
|
pkgname="${_pkgname}-bin"
|
||||||
pkgver=r673.gb62e530
|
pkgver="0.4.0beta"
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
pkgdesc="A dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks."
|
pkgdesc="A dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks."
|
||||||
arch=(any)
|
arch=(any)
|
||||||
|
@ -37,42 +37,18 @@ depends=(
|
||||||
vulkan-icd-loader
|
vulkan-icd-loader
|
||||||
vulkan-validation-layers
|
vulkan-validation-layers
|
||||||
xorg-xwayland)
|
xorg-xwayland)
|
||||||
makedepends=(
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vaxerski/Hyprland/releases/download/v${pkgver}/v${pkgver}.tar.gz")
|
||||||
git
|
sha256sums=('5969e5f88426f90acdfb5958644733d8a9409389c2d345514c58a66cf74d2f91')
|
||||||
cmake
|
|
||||||
ninja
|
|
||||||
gcc
|
|
||||||
gdb
|
|
||||||
meson
|
|
||||||
vulkan-headers
|
|
||||||
wayland-protocols
|
|
||||||
xorgproto)
|
|
||||||
source=("${_pkgname}::git+https://github.com/vaxerski/Hyprland.git")
|
|
||||||
conflicts=("${_pkgname}")
|
conflicts=("${_pkgname}")
|
||||||
provides=(hyprland)
|
provides=(hyprland)
|
||||||
sha256sums=('SKIP')
|
|
||||||
options=(!makeflags !buildflags)
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$_pkgname"
|
|
||||||
( set -o pipefail
|
|
||||||
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
|
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${srcdir}/${_pkgname}"
|
|
||||||
git submodule update --init
|
|
||||||
make all
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${_pkgname}"
|
cd "$srcdir/Hyprland-$pkgver"
|
||||||
mkdir -p "${pkgdir}/usr/share/wayland-sessions"
|
mkdir -p "${pkgdir}/usr/share/wayland-sessions"
|
||||||
mkdir -p "${pkgdir}/usr/share/hyprland"
|
mkdir -p "${pkgdir}/usr/share/hyprland"
|
||||||
install -Dm755 build/Hyprland -t "${pkgdir}/usr/bin"
|
install -Dm755 ./Hyprland -t "${pkgdir}/usr/bin"
|
||||||
install -Dm755 hyprctl/hyprctl -t "${pkgdir}/usr/bin"
|
install -Dm755 ./hyprctl -t "${pkgdir}/usr/bin"
|
||||||
|
install -Dm755 ./libwlroots.so.11032 -t "${pkgdir}/usr/lib"
|
||||||
install -Dm644 assets/*.png -t "${pkgdir}/usr/share/hyprland"
|
install -Dm644 assets/*.png -t "${pkgdir}/usr/share/hyprland"
|
||||||
install -Dm644 example/hyprland.desktop -t "${pkgdir}/usr/share/wayland-sessions"
|
install -Dm644 example/hyprland.desktop -t "${pkgdir}/usr/share/wayland-sessions"
|
||||||
install -Dm644 example/hyprland.conf -t "${pkgdir}/usr/share/hyprland"
|
install -Dm644 example/hyprland.conf -t "${pkgdir}/usr/share/hyprland"
|
||||||
|
|
Loading…
Reference in a new issue