Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / ly
Commits: 32816171 by Christian Heusel at 2024-07-03T10:45:08+02:00 upgpkg: 1.0.0-1: new upstream release - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,27 +1,21 @@ pkgbase = ly pkgdesc = TUI display manager - pkgver = 0.6.0 + pkgver = 1.0.0 pkgrel = 1 url = https://github.com/fairyglade/ly arch = x86_64 - license = custom:WTFPL + license = WTFPL makedepends = git makedepends = libxcb + makedepends = zig depends = pam + depends = glibc optdepends = xorg-xauth: for X server sessions optdepends = libxcb: for X server sessions backup = etc/ly/config.ini backup = etc/ly/wsetup.sh backup = etc/ly/xsetup.sh - source = git+https://github.com/fairyglade/ly.git#tag=1c2be475ad09af18e632609c779d508e7fb866f9 - source = git+https://github.com/nullgemm/argoat.git - source = git+https://github.com/nullgemm/configator.git - source = git+https://github.com/nullgemm/dragonfail.git - source = git+https://github.com/nullgemm/termbox_next.git - b2sums = SKIP - b2sums = SKIP - b2sums = SKIP - b2sums = SKIP - b2sums = SKIP + source = git+https://github.com/fairyglade/ly.git#tag=v1.0.0 + b2sums = b44536c57e3464ffbb45d12cee54bad00b5eb31873fdd79c81222640ecab5df34b9a587232e5db760561f3f2d33af872456d3a3b92ef2a414b8dbf4fc6a70725 pkgname = ly ===================================== PKGBUILD ===================================== @@ -3,49 +3,36 @@ # Contributor: nullgemm <nullg...@mailbox.org> pkgname=ly -pkgver=0.6.0 +pkgver=1.0.0 pkgrel=1 -_tag=1c2be475ad09af18e632609c779d508e7fb866f9 pkgdesc="TUI display manager" arch=(x86_64) url="https://github.com/fairyglade/ly" -license=('custom:WTFPL') -depends=(pam) -makedepends=(git libxcb) +license=('WTFPL') +depends=(pam glibc) +makedepends=(git libxcb zig) optdepends=('xorg-xauth: for X server sessions' 'libxcb: for X server sessions') backup=(etc/$pkgname/{config.ini,wsetup.sh,xsetup.sh}) -source=("git+$url.git#tag=$_tag" - "git+https://github.com/nullgemm/argoat.git" - "git+https://github.com/nullgemm/configator.git" - "git+https://github.com/nullgemm/dragonfail.git" - "git+https://github.com/nullgemm/termbox_next.git") -b2sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP') +source=("git+$url.git#tag=v${pkgver}") +b2sums=('b44536c57e3464ffbb45d12cee54bad00b5eb31873fdd79c81222640ecab5df34b9a587232e5db760561f3f2d33af872456d3a3b92ef2a414b8dbf4fc6a70725') prepare() { cd "$pkgname" - git submodule init - - git config submodule.sub/argoat.url "$srcdir/argoat" - git config submodule.sub/configator.url "$srcdir/configator" - git config submodule.sub/dragonfail.url "$srcdir/dragonfail" - git config submodule.sub/termbox_next.url "$srcdir/termbox_next" - - git -c protocol.file.allow=always submodule update + git cherry-pick -n cbe7b37564f307fddfeba3732c68d5024d30f4f7 } build() { - make -C "$pkgname" + cd "$pkgname" + zig build } package() { cd "$pkgname" - # we install the binary as ly-dm because of the conflict with python-ly - make DESTDIR="$pkgdir" NAME=ly-dm install installsystemd + zig build -Ddest_directory="$pkgdir" -Dname="ly-dm" installsystemd + # https://github.com/fairyglade/ly/issues/628 + chmod 644 "$pkgdir/etc/pam.d/ly" "$pkgdir/usr/lib/systemd/system/ly.service" sed -i "s;/usr/bin/ly;/usr/bin/ly-dm;g" "$pkgdir/usr/lib/systemd/system/ly.service" + install -Dm644 license.md "$pkgdir/usr/share/licenses/$pkgname/WTFPL" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ly/-/commit/32816171d54912886bc2328b0fe238bc598af823 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ly/-/commit/32816171d54912886bc2328b0fe238bc598af823 You're receiving this email because of your account on gitlab.archlinux.org.