add wlsunset
This commit is contained in:
parent
d0ce0cc057
commit
4066055935
6 changed files with 127 additions and 0 deletions
51
wlsunset/PKGBUILD
Normal file
51
wlsunset/PKGBUILD
Normal file
|
@ -0,0 +1,51 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=wlsunset
|
||||
pkgver=0.4.1.pr
|
||||
_pkgver=0.4.0.r0.634c8eb
|
||||
pkgrel=02
|
||||
pkgdesc='Day/night gamma adjustments for Wayland compositors'
|
||||
url="https://git.sr.ht/~kennylevinsen/wlsunset"
|
||||
makedepends=('git' 'meson' 'ninja' 'scdoc' 'wayland' 'wayland-protocols')
|
||||
provides=('wlsunset')
|
||||
conflicts=('wlsunset-git')
|
||||
source=("$pkgname::git+$url")
|
||||
|
||||
_pkgver() {
|
||||
cd "$pkgname"
|
||||
|
||||
# Git, tags available
|
||||
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
|
||||
|
||||
# Git, no tags available
|
||||
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
arch-meson build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
depends=('wayland' 'wayland-protocols')
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('MIT')
|
||||
|
||||
sha256sums=('SKIP')
|
||||
|
||||
## 9cf8f0562bebd5e5d6dcecc75dc6cd9dacfd29c28e473ff83c6d84884635e862 wlsunset-0.4.1.pr-02-x86_64.pkg.tar.lz
|
||||
|
27
wlsunset/PKGBUILD-arch
Normal file
27
wlsunset/PKGBUILD-arch
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Brett Cornwall <ainola@archlinux.org>
|
||||
# Contributor: Thorben Günther
|
||||
|
||||
pkgname=wlsunset
|
||||
pkgver=0.4.0
|
||||
pkgrel=1
|
||||
pkgdesc='Day/night gamma adjustments for Wayland compositors'
|
||||
arch=('x86_64')
|
||||
url='https://sr.ht/~kennylevinsen/wlsunset'
|
||||
license=('MIT')
|
||||
depends=('libwayland-client.so')
|
||||
makedepends=('meson' 'scdoc' 'wayland-protocols')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/wlsunset/archive/${pkgver}.tar.gz")
|
||||
sha256sums=('a86ffb1793fe622802ec25795b69df864715986ecc175f7734e739c9e264ed72')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
arch-meson build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
DESTDIR="$pkgdir/" ninja -C build install
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
34
wlsunset/PKGBUILD-aur
Normal file
34
wlsunset/PKGBUILD-aur
Normal file
|
@ -0,0 +1,34 @@
|
|||
pkgname=wlsunset-git
|
||||
pkgver=0.1.0.r0.0569fb4
|
||||
pkgrel=1
|
||||
pkgdesc="Day/night gamma adjustments for Wayland"
|
||||
arch=('x86_64')
|
||||
url="https://git.sr.ht/~kennylevinsen/wlsunset"
|
||||
license=('MIT')
|
||||
depends=('wayland' 'wayland-protocols')
|
||||
makedepends=('git' 'meson' 'ninja' 'scdoc')
|
||||
provides=('wlsunset')
|
||||
conflicts=('wlsunset')
|
||||
source=("$pkgname::git+$url")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
|
||||
# Git, tags available
|
||||
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
|
||||
|
||||
# Git, no tags available
|
||||
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
arch-meson build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
DESTDIR="$pkgdir" ninja -C build install
|
||||
}
|
1
wlsunset/clean
Normal file
1
wlsunset/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,wlsunset}
|
8
wlsunset/deps
Normal file
8
wlsunset/deps
Normal file
|
@ -0,0 +1,8 @@
|
|||
git
|
||||
meson
|
||||
ninja
|
||||
scdoc
|
||||
wayland
|
||||
|
||||
|
||||
wayland-protocols
|
6
wlsunset/time
Normal file
6
wlsunset/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m4.610s
|
||||
user 0m3.001s
|
||||
sys 0m0.691s
|
||||
|
Loading…
Reference in a new issue