Move packages to srcpkgs dir

This commit is contained in:
Marty Oehme 2025-03-04 09:54:02 +01:00
parent be5fc0c3b4
commit 90f470c1a6
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
9 changed files with 0 additions and 0 deletions

36
srcpkgs/ly-git/template Normal file
View file

@ -0,0 +1,36 @@
# Template file for 'ly'
pkgname=ly-git
version=20241012
revision=1
_commit=e125d8f1aa1544a6a106047c0acd7a7d2e0ff16c
archs="x86_64"
build_style=zig-build
configure_args="installrunit -Dpie"
hostmakedepends="git"
makedepends="pam-devel libxcb-devel"
depends=""
short_desc="Display manager with console UI"
maintainer="Marty Oehme <contact@martyoeh.me>"
license="WTFPL"
homepage="https://github.com/fairyglade/ly"
#changelog=""
distfiles="${homepage}/archive/${_commit}.tar.gz"
checksum=5c33daa89b680ebce6dd37a0edfaa9f68066c4646708bcf020233c6a58d53561
nostrip=yes
do_build() {
DESTDIR="zig-out" zig build -j"${XBPS_MAKEJOBS}" --sysroot "${XBPS_CROSS_BASE}" --search-prefix "${XBPS_CROSS_BASE}/usr" --prefix /usr --global-cache-dir /host/zig --verbose
}
do_install() {
vlicense license.md
vdoc readme.md
vbin zig-out/usr/bin/ly
vmkdir /etc/ly
vinstall res/config.ini 0644 /etc/ly
vinstall res/setup.sh 0755 /etc/ly
vinstall res/pam.d/ly 0644 /etc/pam.d
vcopy res/lang /etc/ly/lang
vsv ly
}