diff options
author | Enmanuel | 2023-09-29 03:54:35 +0000 |
---|---|---|
committer | Enmanuel | 2023-09-29 03:54:35 +0000 |
commit | 4e1f406c0852db2480e26ccb490046aa1cc10937 (patch) | |
tree | 9303e510f6309cf58e5efbc835c303d29310dd93 | |
parent | 163acbb8acd70ee16769c17b010a397dcc92003e (diff) | |
download | aur-4e1f406c0852db2480e26ccb490046aa1cc10937.tar.gz |
Fix path systemd service
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 14 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = diun pkgdesc = Receive notifications when an image is updated on a Docker registry. - pkgver = 4.25.0 - pkgrel = 2 + pkgver = 4.26.0 + pkgrel = 1 url = https://github.com/crazy-max/diun arch = x86_64 license = MIT @@ -12,7 +12,9 @@ pkgbase = diun makedepends = gcc provides = diun conflicts = diun-bin - source = diun-4.25.0.tar.gz::https://github.com/crazy-max/diun/archive/v4.25.0.tar.gz - sha256sums = aa70054fffde1fefcb1cd42bb1454d0ac89f1222de02a95642a0e5a4264e69fa + source = diun-4.26.0.tar.gz::https://github.com/crazy-max/diun/archive/v4.26.0.tar.gz + source = diun.service::https://gitlab.com/mapanare-labs/packages/archlinux/diun-bin/-/raw/main/diun.service + sha256sums = 72cb054b2be7747c0b870310732cb568df0773cd1d788aa6bb8cd05024fcd019 + sha256sums = 902084dd9bb29d19bd27de9ca6030781a7582a2353c1eeb3a9b2e5e86707a1e3 pkgname = diun @@ -1,8 +1,8 @@ # Maintainer: Enmanuel Moreira <enmanuelmoreira@gmail.com> pkgname=diun -pkgver=4.25.0 -pkgrel=2 +pkgver=4.26.0 +pkgrel=1 pkgdesc="Receive notifications when an image is updated on a Docker registry." arch=('x86_64') url="https://github.com/crazy-max/diun" @@ -10,10 +10,13 @@ conflicts=('diun-bin') provides=('diun') license=('MIT') makedepends=('go>=1.17' 'git' 'gzip' 'tar' 'gcc') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crazy-max/${pkgname}/archive/v${pkgver}.tar.gz") -sha256sums=('aa70054fffde1fefcb1cd42bb1454d0ac89f1222de02a95642a0e5a4264e69fa') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crazy-max/${pkgname}/archive/v${pkgver}.tar.gz" + "diun.service::https://gitlab.com/mapanare-labs/packages/archlinux/diun-bin/-/raw/main/diun.service") +sha256sums=('72cb054b2be7747c0b870310732cb568df0773cd1d788aa6bb8cd05024fcd019' + '902084dd9bb29d19bd27de9ca6030781a7582a2353c1eeb3a9b2e5e86707a1e3') build() { + mv diun.service "${pkgname}-${pkgver}/" cd "${pkgname}-${pkgver}" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" @@ -27,6 +30,7 @@ build() { package() { cd "${srcdir}"/"${pkgname}-${pkgver}" install -Dm755 build/"${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}" + install -Dm755 diun.service ${pkgdir}/etc/systemd/system/diun.service install -Dm644 README.md ${pkgdir}/usr/share/doc/${pkgname}/README.md install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE install -Dm644 CHANGELOG.md ${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG.md |