mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
* fix(pkg,aur): sources now are version unique * build: allow to override git-rev and timestamp build info * chore: organize and parallelize some checks * chore: make standard PKGBUIDLs * pkg(aur): `-bin` only has to depend on the `.so` file * pkg(feat,aur): multiarch `-bin` pkg * ci(void): update xbps first, add warning * pkg(aur): bump pkgrels * pkg(aur): pkgrel again AND `.SRCINFO` finally --------- Co-authored-by: grialion <48643945+grialion@users.noreply.github.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# shellcheck disable=SC2034,SC2148,SC2128,SC2154,SC2164
|
||||
# shellcheck disable=SC2034,SC2154,SC2164
|
||||
# Maintainer: javalsai <javalsai@proton.me>
|
||||
pkgname=lidm-git
|
||||
pkgver=1.2.3.r0.g7e1ec83
|
||||
pkgrel=1
|
||||
pkgver=1.2.3.r3.g363deea
|
||||
pkgrel=3
|
||||
depends=('pam')
|
||||
makedepends=('git' 'make' 'gcc')
|
||||
makedepends=('git')
|
||||
pkgdesc="A fully colorful customizable TUI display manager made in C. (last git commit)"
|
||||
arch=('any')
|
||||
url="https://github.com/javalsai/lidm"
|
||||
@@ -15,17 +15,17 @@ source=("lidm::git+https://github.com/javalsai/lidm")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "lidm"
|
||||
cd "$srcdir/lidm"
|
||||
git describe --long --abbrev=7 --tags | \
|
||||
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "lidm"
|
||||
make CFLAGS="-O3"
|
||||
cd "$srcdir/lidm"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "lidm"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
cd "$srcdir/lidm"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
Reference in New Issue
Block a user