summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlsaa2022-02-20 15:07:23 -0300
committerlsaa2022-02-20 15:07:23 -0300
commit2b181f7aec8613c32d5244c2a7937878026caf86 (patch)
tree282f7da9c721bf493b54b0d75b77058d9f3596a9
parent60ebfcef97830e50c976becccd88a759e423d53b (diff)
downloadaur-2b181f7aec8613c32d5244c2a7937878026caf86.tar.gz
Updated binary version to v2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 296710e75f16..12f228a65ce8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = ddstats-rust-bin
pkgver = 1
pkgrel = 1
arch = x86_64
- source = https://github.com/lsaa/ddstats-rust/releases/download/v1/ddstats-rust-v1-linux.zip
+ source = https://github.com/lsaa/ddstats-rust/releases/download/v0.6.10-178/ddstats-rust-linux-x86_64.zip
sha256sums = SKIP
b2sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index fe36356768c5..c299cd081cdd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,14 @@ _pkgname=ddstats-rust
pkgname=${_pkgname}-bin
pkgver=1
pkgrel=1
-source=("https://github.com/lsaa/ddstats-rust/releases/download/v1/ddstats-rust-v1-linux.zip")
+source=("https://github.com/lsaa/ddstats-rust/releases/download/v0.6.10-178/ddstats-rust-linux-x86_64.zip")
arch=('x86_64')
sha256sums=('SKIP')
b2sums=('SKIP')
package() {
+ cd ddstats-rust-linux
+ setcap cap_sys_ptrace=eip ddstats-rust
install -Dm755 ddstats-rust "${pkgdir}/usr/bin/ddstats-rust"
- setcap cap_sys_ptrace=eip "${pkgdir}/usr/bin/ddstats-rust"
install -Dm644 default_cfg.ron "${pkgdir}/usr/share/doc/${_pkgname}/default_cfg.ron"
}