Skip to content

Commit 177a677

Browse files
xavierfortier1Duncaen
authored andcommitted
New package: walker-0.12.21
1 parent c58919b commit 177a677

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

srcpkgs/walker/template

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Template file for 'walker'
2+
pkgname=walker
3+
version=0.12.21
4+
revision=1
5+
build_style=go
6+
build_helper="gir"
7+
go_import_path=github.com/abenz1267/walker
8+
go_package="./cmd"
9+
hostmakedepends="gobject-introspection pkg-config"
10+
makedepends="gtk4-layer-shell-devel libvips-devel"
11+
depends="gsettings-desktop-schemas"
12+
short_desc="Multi-Purpose highly extendable application launcher for Wayland"
13+
maintainer="Xavier Fortier <xavier.fortier@proton.me>"
14+
license="MIT"
15+
homepage="https://github.com/abenz1267/walker"
16+
changelog="https://github.com/abenz1267/walker/releases"
17+
distfiles="https://github.com/abenz1267/walker/archive/v${version}.tar.gz"
18+
checksum=7ba7a74f4fd2dd0d1fcf6b96adcb08032583f6557d2d66a73e7036c9f95a71fa
19+
make_check=no # no tests and slog warnings make it fail
20+
21+
do_build() {
22+
# build_style=go uses "go install" which has no -o flag and the
23+
# binary name ends up to be "cmd" instead of "walker".
24+
go build -o "${GOPATH}/bin/walker" \
25+
-modcacherw -tags "${go_build_tags}" \
26+
-ldflags "${go_ldflags}" "${go_package}"
27+
}
28+
29+
post_install() {
30+
vlicense LICENSE
31+
32+
local _conf="internal/config"
33+
vinstall "${_conf}/config.default.toml" 644 etc/xdg/walker config.toml
34+
vinstall "${_conf}/themes/default.toml" 644 etc/xdg/walker/themes
35+
vinstall "${_conf}/themes/xdg_default.css" 644 etc/xdg/walker/themes default.css
36+
}

0 commit comments

Comments
 (0)