mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 02:18:00 +02:00
feat: aur yayyy! (paru >>>)
This commit is contained in:
31
assets/pkg/aur/lidm-git/PKGBUILD
Normal file
31
assets/pkg/aur/lidm-git/PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
pkgname=lidm-git
|
||||
pkgver=0.0.1.r0.gd6b165b
|
||||
pkgrel=1
|
||||
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' 'lidm-bin')
|
||||
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"
|
||||
}
|
Reference in New Issue
Block a user