mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
New package: darkman-1.5.4
This commit is contained in:
parent
affd9aa016
commit
7eec19d4ab
1 changed files with 31 additions and 0 deletions
31
srcpkgs/darkman/template
Normal file
31
srcpkgs/darkman/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'darkman'
|
||||
pkgname=darkman
|
||||
version=1.5.4
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="gitlab.com/WhyNotHugo/darkman"
|
||||
go_package="${go_import_path}/cmd/darkman"
|
||||
go_ldflags="-X main.Version=${version}"
|
||||
hostmakedepends="scdoc"
|
||||
depends="dbus"
|
||||
short_desc="Daemon for dark-mode and light-mode transitions on Linux desktop"
|
||||
maintainer="André Cerqueira <acerqueira021@gmail.com>"
|
||||
license="ISC"
|
||||
homepage="https://darkman.whynothugo.nl/"
|
||||
changelog="https://gitlab.com/WhyNotHugo/darkman/-/raw/main/CHANGELOG.md"
|
||||
distfiles="https://gitlab.com/WhyNotHugo/darkman/-/archive/v${version}/darkman-v${version}.tar"
|
||||
checksum=c19b33a62a90120df53ccfa823eb69da24429bb63101d57e9604e36eb3de9e38
|
||||
|
||||
post_install() {
|
||||
vmkdir usr/share/dbus-1/services
|
||||
vinstall contrib/dbus/org.freedesktop.impl.portal.desktop.darkman.service 644 usr/share/dbus-1/services
|
||||
vinstall contrib/dbus/nl.whynothugo.darkman.service 644 usr/share/dbus-1/services
|
||||
|
||||
vmkdir usr/share/xdg-desktop-portal/portals
|
||||
vinstall contrib/portal/darkman.portal 644 usr/share/xdg-desktop-portal/portals
|
||||
|
||||
scdoc < darkman.1.scd > darkman.1
|
||||
vman darkman.1
|
||||
|
||||
vlicense LICENCE
|
||||
}
|
Loading…
Add table
Reference in a new issue