From 7a3d7af3f69565c9578c9617a5786988c4ff6982 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Fri, 8 May 2026 17:19:51 -0600 Subject: [PATCH] added install script, fixes https://github.com/ewpt3ch/pkgstash/issues/2#issue-4409118905 --- PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 2681c9d..44a9367 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,8 +8,7 @@ arch=(x86_64) url='https://github.com/ewpt3ch/pkgstash' backup=(etc/pkgstash/pkgstash.toml etc/pkgstash/pkgstash.env) license=(GPL-2.0-only) -provides=(pkgstash) -conflicts=(pkgstash) +install=pkgstash.install source=("https://github.com/ewpt3ch/${pkgname}/releases/download/v${pkgver}/pkgstash-v${pkgver}-$CARCH.tar.gz") sha256sums=('ccad5b513ed37b5c626c74f783127f2fb468b53080fc6deb3e4e44e1e7e99e99') @@ -18,7 +17,7 @@ package() { install -D -m755 pkgstash "$pkgdir"/usr/bin/pkgstash install -D -m644 pkgstash.toml.example "$pkgdir"/etc/"$pkgname"/pkgstash.toml - install -D -m600 pkgstash.env.example "$pkgdir"/etc/"$pkgname"/pkgstash.env + install -D -m640 pkgstash.env.example "$pkgdir"/etc/"$pkgname"/pkgstash.env install -D -m644 pkgstash.service "$pkgdir"/usr/lib/systemd/system/pkgstash.service install -D -m644 pkgstash-refresh.service "$pkgdir"/usr/lib/systemd/system/pkgstash-refresh.service install -D -m644 pkgstash-refresh.timer "$pkgdir"/usr/lib/systemd/system/pkgstash-refresh.timer