42 lines
788 B
Bash
Executable File
42 lines
788 B
Bash
Executable File
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit go-module
|
|
|
|
DESCRIPTION="Scaffolding CLI for Astal+TypeScript"
|
|
HOMEPAGE="aylur.github.io/ags/"
|
|
SRC_URI="
|
|
https://github.com/Aylur/ags/archive/refs/tags/v2.2.1.tar.gz
|
|
https://var/db/repos/febuild/gui-apps/ags/files/ags-${PV}-go_modules.tar.xz
|
|
"
|
|
# ags-${PV}-go_modules.tar.xz -> go_modules
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE=""
|
|
|
|
BDEPEND="
|
|
gui-libs/astal[gjs]
|
|
"
|
|
RDEPEND=""
|
|
DEPEND="
|
|
${RDEPEND}
|
|
"
|
|
|
|
src_compile() {
|
|
ego build -ldflags "\
|
|
-X 'main.gtk4LayerShell=$(pkg-config --variable=libdir gtk4-layer-shell-0)/libgtk4-layer-shell.so' \
|
|
-X 'main.astalGjs=$(pkg-config --variable=srcdir astal-gjs)'"
|
|
|
|
}
|
|
|
|
src_install() {
|
|
dobin ags
|
|
|
|
default
|
|
}
|