mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-04 06:48:42 +02:00
32 lines
764 B
Bash
32 lines
764 B
Bash
pkgname=lidm-git
|
|
pkgver=0.0.1.r0.gd6b165b
|
|
pkgrel=2
|
|
depends=('pam')
|
|
makedepends=('git' 'make')
|
|
pkgdesc="A fully colorful cutomizable TUI display manager made in C. (last git commit)"
|
|
arch=('any')
|
|
url="https://github.com/javalsai/lidm"
|
|
license=('GPL')
|
|
provides=('lidm')
|
|
conflicts=('lidm')
|
|
source=("lidm-repo::git+https://github.com/javalsai/lidm")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd lidm-repo
|
|
git describe --long --abbrev=7 --tags | \
|
|
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
|
}
|
|
|
|
build() {
|
|
cd lidm-repo
|
|
make CFLAGS="-O3"
|
|
}
|
|
|
|
package() {
|
|
cd lidm-repo
|
|
install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
install -Dm755 lidm "${pkgdir}/usr/bin/lidm"
|
|
install -Dm755 themes/default.ini "${pkgdir}/etc/lidm.ini"
|
|
}
|