mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
e2014f46a9 | |||
|
5d298ea6d8 | ||
b003909c3e
|
|||
47b212019a
|
|||
255256bb27
|
|||
874f6f98f1
|
3
.github/workflows/make-release.yml
vendored
3
.github/workflows/make-release.yml
vendored
@@ -48,6 +48,9 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- run: |
|
||||
chage -E -1 nobody
|
||||
passwd -u nobody
|
||||
|
||||
cd "assets/pkg/aur"
|
||||
chown nobody:nobody . -R
|
||||
su - -s /bin/bash nobody -c "$PWD/update-pkgs.sh ${{ inputs.version }}"
|
||||
|
1
Makefile
1
Makefile
@@ -36,7 +36,6 @@ install: lidm
|
||||
install -Dm644 ./themes/default.ini ${DESTDIR}/etc/lidm.ini
|
||||
install -Dm644 ./assets/man/lidm.1 ${DESTDIR}${PREFIX}/share/man/man1/
|
||||
install -Dm644 ./assets/man/lidm-config.5 ${DESTDIR}${PREFIX}/share/man/man5/
|
||||
gzip -f ${DESTDIR}${PREFIX}/share/man/man{1/lidm.1,5/lidm-config.5}
|
||||
|
||||
uninstall:
|
||||
rm -rf ${DESTDIR}${PREFIX}/bin/lidm ${DESTDIR}/etc/lidm.ini
|
||||
|
@@ -1,21 +1,20 @@
|
||||
pkgbase = lidm-bin
|
||||
pkgdesc = A fully colorful customizable TUI display manager made in C. (release binary)
|
||||
pkgver = 0.1.0
|
||||
pkgver = 0.2.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/javalsai/lidm
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = gzip
|
||||
depends = pam
|
||||
provides = lidm
|
||||
conflicts = lidm
|
||||
source = lidm::https://github.com/javalsai/lidm/releases/download/v0.1.0/lidm-amd64
|
||||
source = default-theme.ini::https://raw.githubusercontent.com/javalsai/lidm/v0.1.0/themes/default.ini
|
||||
source = lidm.1::https://raw.githubusercontent.com/javalsai/lidm/v0.1.0/assets/man/lidm.1
|
||||
source = lidm-config.5::https://raw.githubusercontent.com/javalsai/lidm/v0.1.0/assets/man/lidm-config.5
|
||||
sha256sums = b5d1dbdaa6b78da57be69ce5e2cc3366717a045de3cb316e66c1c3f36b796ee0
|
||||
sha256sums = 27db9b0cd2da80c0c60dcb13dfad0f9d65e7dddbb7b344b859803b9ac3943cd7
|
||||
source = lidm::https://github.com/javalsai/lidm/releases/download/v0.2.0/lidm-amd64
|
||||
source = default-theme.ini::https://raw.githubusercontent.com/javalsai/lidm/v0.2.0/themes/default.ini
|
||||
source = lidm.1::https://raw.githubusercontent.com/javalsai/lidm/v0.2.0/assets/man/lidm.1
|
||||
source = lidm-config.5::https://raw.githubusercontent.com/javalsai/lidm/v0.2.0/assets/man/lidm-config.5
|
||||
sha256sums = 65b42f4f7acd970b167fe84d1fa75450b54e01a6f0edddb9d8dd487058a20850
|
||||
sha256sums = 68662430a6d262b35cc54d9f0e164ed935b7f7f4497a87cc94946c558bbe8a91
|
||||
sha256sums = a6807a55ff72ec5a5678583156b3efd0d367f0bcb79854094132771f0cb86bce
|
||||
sha256sums = c44f78940212b946e157eac02e159b215376d291d11adfe4925b594405ad85da
|
||||
sha256sums = 3adaae60f79dff1cef2b2aba7dcea04196cd49816759ad36afb9f7331ac9c3e4
|
||||
|
||||
pkgname = lidm-bin
|
||||
|
@@ -1,10 +1,9 @@
|
||||
# shellcheck disable=SC2034,SC2148,SC2128,SC2154,SC2164
|
||||
# Maintainer: javalsai <javalsai@proton.me>
|
||||
pkgname=lidm-bin
|
||||
pkgver=0.1.0
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
depends=('pam')
|
||||
makedepends=('gzip')
|
||||
pkgdesc="A fully colorful customizable TUI display manager made in C. (release binary)"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/javalsai/lidm"
|
||||
@@ -17,15 +16,14 @@ source=(
|
||||
"lidm.1::https://raw.githubusercontent.com/javalsai/lidm/v$pkgver/assets/man/lidm.1"
|
||||
"lidm-config.5::https://raw.githubusercontent.com/javalsai/lidm/v$pkgver/assets/man/lidm-config.5"
|
||||
)
|
||||
sha256sums=('b5d1dbdaa6b78da57be69ce5e2cc3366717a045de3cb316e66c1c3f36b796ee0'
|
||||
'27db9b0cd2da80c0c60dcb13dfad0f9d65e7dddbb7b344b859803b9ac3943cd7'
|
||||
sha256sums=('65b42f4f7acd970b167fe84d1fa75450b54e01a6f0edddb9d8dd487058a20850'
|
||||
'68662430a6d262b35cc54d9f0e164ed935b7f7f4497a87cc94946c558bbe8a91'
|
||||
'a6807a55ff72ec5a5678583156b3efd0d367f0bcb79854094132771f0cb86bce'
|
||||
'c44f78940212b946e157eac02e159b215376d291d11adfe4925b594405ad85da')
|
||||
'3adaae60f79dff1cef2b2aba7dcea04196cd49816759ad36afb9f7331ac9c3e4')
|
||||
|
||||
package() {
|
||||
install -Dm755 lidm "${pkgdir}/usr/bin/lidm"
|
||||
install -Dm644 default-theme.ini "${pkgdir}/etc/lidm.ini"
|
||||
install -Dm644 lidm.1 "${pkgdir}/usr/share/man/man1/lidm.1"
|
||||
install -Dm644 lidm-config.5 "${pkgdir}/usr/share/man/man5/lidm-config.5"
|
||||
gzip -f "${pkgdir}"/usr/share/man/man{1/lidm.1,5/lidm-config.5}
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# shellcheck disable=SC2034,SC2148,SC2128,SC2154,SC2164
|
||||
# Maintainer: javalsai <javalsai@proton.me>
|
||||
pkgname=lidm-git
|
||||
pkgver=0.1.0.r0.g8071694
|
||||
pkgver=0.2.0.r2.g255256b
|
||||
pkgrel=1
|
||||
depends=('pam')
|
||||
makedepends=('git' 'make' 'gcc')
|
||||
|
@@ -1,15 +1,14 @@
|
||||
pkgbase = lidm
|
||||
pkgdesc = A fully colorful customizable TUI display manager made in C. (build latest tag)
|
||||
pkgver = 0.1.0
|
||||
pkgrel = 2
|
||||
pkgver = 0.2.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/javalsai/lidm
|
||||
arch = any
|
||||
license = GPL
|
||||
makedepends = git
|
||||
makedepends = gcc
|
||||
makedepends = gzip
|
||||
depends = pam
|
||||
source = tarball.tar.gz::https://github.com/javalsai/lidm/archive/refs/tags/v0.1.0.tar.gz
|
||||
sha256sums = de1981603f3fa54caacfcd68cc07d650c186990175baf210ba5275d6450e5030
|
||||
source = tarball.tar.gz::https://github.com/javalsai/lidm/archive/refs/tags/v0.2.0.tar.gz
|
||||
sha256sums = 6d397cf75cafdcb95e5a2623d70f2e07bbb085a07b7c3b743caac06454ed7b16
|
||||
|
||||
pkgname = lidm
|
||||
|
@@ -1,16 +1,16 @@
|
||||
# shellcheck disable=SC2034,SC2148,SC2128,SC2154,SC2164
|
||||
# Maintainer: javalsai <javalsai@proton.me>
|
||||
pkgname=lidm
|
||||
pkgver=0.1.0
|
||||
pkgrel=2
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
depends=('pam')
|
||||
makedepends=('git' 'gcc' 'gzip')
|
||||
makedepends=('git' 'gcc')
|
||||
pkgdesc="A fully colorful customizable TUI display manager made in C. (build latest tag)"
|
||||
arch=('any')
|
||||
url="https://github.com/javalsai/lidm"
|
||||
license=('GPL')
|
||||
source=("tarball.tar.gz::https://github.com/javalsai/lidm/archive/refs/tags/v$pkgver.tar.gz")
|
||||
sha256sums=('de1981603f3fa54caacfcd68cc07d650c186990175baf210ba5275d6450e5030')
|
||||
sha256sums=('6d397cf75cafdcb95e5a2623d70f2e07bbb085a07b7c3b743caac06454ed7b16')
|
||||
|
||||
build() {
|
||||
tar -xzf "tarball.tar.gz"
|
||||
|
@@ -16,6 +16,13 @@ for pkg in "$MYDIR"/lidm{,-bin}/; do
|
||||
printf "\x1b[1mEntering '%s'\x1b[0m\n" "$pkg"
|
||||
sed -i "s/pkgver=.*/pkgver=$1/" PKGBUILD
|
||||
sed -i "s/pkgrel=.*/pkgrel=1/" PKGBUILD
|
||||
|
||||
grep 'source = ' <.SRCINFO | awk -F'= |::' '{print $2}' | \
|
||||
while read -r srcfile; do
|
||||
printf "\x1b[31mDeleting '%s'\x1b[0m\n" "$srcfile"
|
||||
rm -f "$srcfile"
|
||||
done
|
||||
|
||||
updpkgsums
|
||||
makepkg --printsrcinfo | tee .SRCINFO
|
||||
echo
|
||||
|
Reference in New Issue
Block a user