# shellcheck disable=SC2034,SC2154,SC2164 # Maintainer: javalsai pkgname=lidm-bin pkgver=1.2.3 pkgrel=1 depends=('libpam.so') pkgdesc="A fully colorful customizable TUI display manager made in C. (release binary)" arch=('x86_64') url="https://github.com/javalsai/lidm" license=('GPL') provides=('lidm') conflicts=('lidm') source=( "lidm-${pkgver}::$url/releases/download/v$pkgver/lidm-amd64" "lidm-default-theme-${pkgver}.ini::https://raw.githubusercontent.com/javalsai/lidm/v$pkgver/themes/default.ini" "lidm-${pkgver}.1::https://raw.githubusercontent.com/javalsai/lidm/v$pkgver/assets/man/lidm.1" "lidm-config-${pkgver}.5::https://raw.githubusercontent.com/javalsai/lidm/v$pkgver/assets/man/lidm-config.5" ) sha256sums=('a533b5aee3ffe04268f8d3ff8d7eb87f09d31fbe25e1b8b1ed29c42ef465bd4b' 'ffaa5fe2cf5011bf53c90f81bfec8585158d35f72c0666db0bd4d3866ae041ca' '7f2fb91f55088be1a9b1c93ecf5d6c1e437f369b56df2eacc9d10b00c93c39f8' '0aa5755bdcc60ea80cd9ee0f89233ffaf22c6cee9db9da277274a62c6ed477d9') package() { cd "$srcdir" install -Dm755 "lidm-${pkgver}" "${pkgdir}/usr/bin/lidm" install -Dm644 "lidm-default-theme-${pkgver}.ini" "${pkgdir}/etc/lidm.ini" install -Dm644 "lidm-${pkgver}.1" "${pkgdir}/usr/share/man/man1/lidm.1" install -Dm644 "lidm-config-${pkgver}.5" "${pkgdir}/usr/share/man/man5/lidm-config.5" }