diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 12 insertions, 11 deletions
@@ -1,17 +1,18 @@ pkgbase = betterlockscreen pkgdesc = A simple, minimal lockscreen pkgver = 3.0.1 - pkgrel = 5 + pkgrel = 6 url = https://github.com/pavanjadhaw/betterlockscreen arch = any license = MIT + depends = bc depends = feh depends = i3lock-color depends = imagemagick depends = xorg-xdpyinfo depends = xorg-xrandr conflicts = betterlockscreen-git - source = https://github.com/pavanjadhaw/betterlockscreen/archive/3.0.1.tar.gz + source = betterlockscreen-3.0.1.tar.gz::https://github.com/pavanjadhaw/betterlockscreen/archive/3.0.1.tar.gz sha256sums = 9b80af4b93e0b35bc916a584522ecf9eb39414c8010a2e4f2bb6941fdc5faf28 pkgname = betterlockscreen @@ -4,20 +4,20 @@ pkgname=betterlockscreen pkgver=3.0.1 -pkgrel=5 +pkgrel=6 pkgdesc="A simple, minimal lockscreen" arch=('any') -url="https://github.com/pavanjadhaw/$pkgname" +url="https://github.com/pavanjadhaw/${pkgname}" license=('MIT') -depends=('feh' 'i3lock-color' 'imagemagick' 'xorg-xdpyinfo' 'xorg-xrandr') +depends=('bc' 'feh' 'i3lock-color' 'imagemagick' 'xorg-xdpyinfo' 'xorg-xrandr') conflicts=('betterlockscreen-git') -source=("$url/archive/$pkgver.tar.gz") +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") sha256sums=('9b80af4b93e0b35bc916a584522ecf9eb39414c8010a2e4f2bb6941fdc5faf28') package() { - cd "$pkgname-$pkgver" - install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname" - install -Dm 644 "$pkgname@.service" "$pkgdir/usr/lib/systemd/system/betterlockscreen@.service" - install -Dm 644 "examples/${pkgname}rc" "$pkgdir/usr/share/doc/betterlockscreen/examples/${pkgname}rc" - install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd "${pkgname}-${pkgver}"/ + install -Dm 755 "${pkgname}" -t "${pkgdir}"/usr/bin/ + install -Dm 644 "${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}"/ } |