mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
New package: walker-0.12.21
This commit is contained in:
parent
c58919b408
commit
177a677a1f
1 changed files with 36 additions and 0 deletions
36
srcpkgs/walker/template
Normal file
36
srcpkgs/walker/template
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'walker'
|
||||
pkgname=walker
|
||||
version=0.12.21
|
||||
revision=1
|
||||
build_style=go
|
||||
build_helper="gir"
|
||||
go_import_path=github.com/abenz1267/walker
|
||||
go_package="./cmd"
|
||||
hostmakedepends="gobject-introspection pkg-config"
|
||||
makedepends="gtk4-layer-shell-devel libvips-devel"
|
||||
depends="gsettings-desktop-schemas"
|
||||
short_desc="Multi-Purpose highly extendable application launcher for Wayland"
|
||||
maintainer="Xavier Fortier <xavier.fortier@proton.me>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/abenz1267/walker"
|
||||
changelog="https://github.com/abenz1267/walker/releases"
|
||||
distfiles="https://github.com/abenz1267/walker/archive/v${version}.tar.gz"
|
||||
checksum=7ba7a74f4fd2dd0d1fcf6b96adcb08032583f6557d2d66a73e7036c9f95a71fa
|
||||
make_check=no # no tests and slog warnings make it fail
|
||||
|
||||
do_build() {
|
||||
# build_style=go uses "go install" which has no -o flag and the
|
||||
# binary name ends up to be "cmd" instead of "walker".
|
||||
go build -o "${GOPATH}/bin/walker" \
|
||||
-modcacherw -tags "${go_build_tags}" \
|
||||
-ldflags "${go_ldflags}" "${go_package}"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
||||
local _conf="internal/config"
|
||||
vinstall "${_conf}/config.default.toml" 644 etc/xdg/walker config.toml
|
||||
vinstall "${_conf}/themes/default.toml" 644 etc/xdg/walker/themes
|
||||
vinstall "${_conf}/themes/xdg_default.css" 644 etc/xdg/walker/themes default.css
|
||||
}
|
Loading…
Add table
Reference in a new issue