summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVHSgunzo2023-07-20 09:28:52 +0300
committerVHSgunzo2023-07-20 09:28:52 +0300
commitfb3cff4598668925e9140d1bf64fa50d79823799 (patch)
treec912cc25c7022daeabb76fc90e860ea929167a44
parent2b54081772ceb716944dae1adc8f7733a3fa259a (diff)
downloadaur-fb3cff4598668925e9140d1bf64fa50d79823799.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0949198752ef..d4ce82ebd75e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,9 +2,9 @@ pkgbase = notify-send-rs-bin
pkgdesc = Rust version of notify-send for display notifications on the linux desktop using notify-rust
pkgver = 0.0.1
pkgrel = 1
- url = https://github.com/VHSgunzo/notify-send-rs-bin
+ url = https://github.com/VHSgunzo/notify-send-rs
arch = x86_64
- source = notify-send-rs-bin.tar.xz::https://github.com/VHSgunzo/notify-send-rs-bin/releases/download/v0.0.1/notify-send-rs-bin.tar.xz
+ source = notify-send-rs.tar.xz::https://github.com/VHSgunzo/notify-send-rs/releases/download/v0.0.1/notify-send-rs.tar.xz
sha256sums = SKIP
pkgname = notify-send-rs-bin
diff --git a/PKGBUILD b/PKGBUILD
index 3af41d23c8ae..6a7e6ef9f786 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@ pkgver='0.0.1'
pkgrel='1'
pkgdesc='Rust version of notify-send for display notifications on the linux desktop using notify-rust'
arch=("x86_64")
-url="https://github.com/VHSgunzo/${pkgname}"
-source=("${pkgname}.tar.xz::https://github.com/VHSgunzo/${pkgname}/releases/download/v${pkgver}/${pkgname}.tar.xz")
+url="https://github.com/VHSgunzo/${pkgname%-bin}"
+source=("${pkgname%-bin}.tar.xz::https://github.com/VHSgunzo/${pkgname%-bin}/releases/download/v${pkgver}/${pkgname%-bin}.tar.xz")
sha256sums=('SKIP')
-package() { install -Dm755 ${pkgname} "$pkgdir/usr/bin/${pkgname}" ; }
+package() { install -Dm755 ${pkgname%-bin} "$pkgdir/usr/bin/${pkgname%-bin}" ; }