diff --git a/README.md b/README.md index 79c3cd1..e754a75 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Installation is easy, put the `bin/upcheck` binary in $HOME/.local/bin/, put the If you don't want to use the provided binary, you can compile it following the next commands: ``` # pacman -S rust -$ git clone https://gitlab.com/edu4rdshl/upcheck.git +$ git clone https://github.com/edu4rdshl/upcheck.git $ cd upcheck $ cargo build --release $ cp target/release/upcheck $HOME/.local/bin/ diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD index a2ffe85..950341d 100644 --- a/archlinux/PKGBUILD +++ b/archlinux/PKGBUILD @@ -1,20 +1,22 @@ # Maintainer: Eduard Toloza -pkgname=upcheck -pkgver=0.1.3 +_pkgname=upcheck +pkgname=upcheck-git +pkgver=26.39a3f10 pkgrel=1 pkgdesc='Checker for ArchLinux available updates and send it via notify-rust.' arch=('x86_64') -url='https://gitlab.com/edu4rdshl/upcheck' +url='https://github.com/edu4rdshl/upcheck' license=('GPL3') depends=('pacman-contrib') -source=("https://gitlab.com/edu4rdshl/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('38e14ef4910c9afb2858d70a1663dd5fed8f13256240a6d6761e881d943f6dd95bbb46830f568bb60fe2dba822ec3a82741fa058475acc9534746ec0cf149957') +makedepends=('git') +source=("https://github.com/edu4rdshl/$_pkgname.git") +sha512sums=('SKIP') package() { - cd "${pkgname}-${pkgver}" + cd "$_pkgname" - install -Dm 755 bin/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}" - install -Dm 755 README.md "${pkgdir}/usr/share/doc/${pkgname}/README" - install -Dm 644 "${pkgname}".service "${pkgdir}/usr/lib/systemd/user/${pkgname}.service" + install -Dm 755 bin/"${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" + install -Dm 755 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README" + install -Dm 644 "${_pkgname}".service "${pkgdir}/usr/lib/systemd/user/${_pkgname}.service" }