# Maintainer: Dct Mei # Contributor: AUTplayed # Contributor: pavanjadhaw pkgname=betterlockscreen pkgver=4.0.4 pkgrel=1 pkgdesc="A simple, minimal lockscreen" arch=('any') url="https://github.com/pavanjadhaw/${pkgname}" license=('MIT') depends=('bc' 'feh' 'i3lock-color' 'imagemagick' 'xorg-xdpyinfo' 'xorg-xrandr') conflicts=('betterlockscreen-git') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" "betterlockscreen@.service") sha256sums=('608b56989eea0b45c0f88bdc9e3c7742430f809a1bcd60d558eb6af99aeecc91' '342c92fcbc685349d843811ea336983307205f680f43362bef7dc3cfaed31d4d') package() { cd "${pkgname}-${pkgver}"/ install -Dm 755 "${pkgname}" -t "${pkgdir}"/usr/bin/ install -Dm 644 "${srcdir}"/${pkgname}@.service -t "${pkgdir}"/usr/lib/systemd/system/ install -Dm 644 examples/"${pkgname}rc" -t "${pkgdir}"/usr/share/doc/betterlockscreen/examples/ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"/ }