diff options
author | Johannes Loher | 2023-03-06 23:43:03 +0100 |
---|---|---|
committer | Johannes Loher | 2023-03-06 23:43:03 +0100 |
commit | f0d278c7efb65c66154e9a36b0a07c58bc337301 (patch) | |
tree | 7e1bc978b65ca9f95e50ab6d5363f09b5a4f9fdd | |
parent | 7474e628ca24cbc03f5548718618539aa0d447e4 (diff) | |
download | aur-ansiweather.tar.gz |
update
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 11 insertions, 18 deletions
@@ -1,7 +1,7 @@ pkgbase = ansiweather pkgdesc = A Shell script for displaying the current weather conditions in your terminal, with support for ANSI colors and Unicode symbols. pkgver = 1.19.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/fcambus/ansiweather arch = any license = BSD @@ -9,9 +9,8 @@ pkgbase = ansiweather depends = jq depends = bc optdepends = wget: support for downloading with wget - optdepends = inetutils: support for downloading with ftp provides = ansiweather - source = https://github.com/fcambus/ansiweather/archive/1.19.0.tar.gz - md5sums = b21421145b1cc94ac53b527689b56ea6 + source = ansiweather-1.19.0.tar.gz::https://github.com/fcambus/ansiweather/archive/1.19.0.tar.gz + md5sums = 87e33bd9e10ca90fa601c033d2480e53 pkgname = ansiweather @@ -2,26 +2,20 @@ pkgname='ansiweather' pkgver=1.19.0 -pkgrel=1 +pkgrel=2 pkgdesc='A Shell script for displaying the current weather conditions in your terminal, with support for ANSI colors and Unicode symbols.' arch=('any') url='https://github.com/fcambus/ansiweather' license=('BSD') depends=('curl' 'jq' 'bc') -optdepends=('wget: support for downloading with wget' - 'inetutils: support for downloading with ftp') +optdepends=('wget: support for downloading with wget') provides=('ansiweather') -source=("https://github.com/fcambus/${pkgname}/archive/${pkgver}.tar.gz") -md5sums=('b21421145b1cc94ac53b527689b56ea6') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fcambus/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=('87e33bd9e10ca90fa601c033d2480e53') package(){ - cd "${srcdir}/${pkgname}-${pkgver}" - install -dm755 "${pkgdir}/usr/bin" - install -m755 ${pkgname} "${pkgdir}/usr/bin/" - - install -dm755 "${pkgdir}/usr/share/man/man1" - install -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1" - - install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd "${pkgname}-${pkgver}" + install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "${pkgname}".1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |