summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorÓscar García Amor2019-05-29 10:55:27 +0200
committerÓscar García Amor2019-05-29 10:55:27 +0200
commit6dbcd9a682a89db05b9a07eae360c9aae92ddf40 (patch)
tree74e9ebfe8913065d247db3b8e85369c443762a46 /PKGBUILD
parenteb3cc9bbc685665f9cadbe7f8297df288adab266 (diff)
downloadaur-6dbcd9a682a89db05b9a07eae360c9aae92ddf40.tar.gz
upgpkg: lesspassgo 2018.05.09-5
Use dynamic user in systemd for lesspassgo-server
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c0316ef19504..98499691cea9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,19 +4,17 @@ _commit='9d4f658de1d17d2d92b22de6f6e93dd3295aa299'
pkgbase=lesspassgo
pkgname=('lesspassgo' 'lesspassgo-server')
pkgver=2018.05.09
-pkgrel=4
+pkgrel=5
arch=('any')
url='https://github.com/tuxlinuxien/lesspassgo'
license=('MIT')
makedepends=('go')
source=("https://github.com/tuxlinuxien/${pkgname}/archive/${_commit}.tar.gz"
"lesspassgo-server.conf"
- "lesspassgo-server.service"
- "lesspassgo-server.sysusers")
+ "lesspassgo-server.service")
sha256sums=('99273ad1eab14c915beae2260b6663c66772fc10143b3364dbe98ba08eeb18f1'
'732503800bd05bb2f443d6f1fecb1d3fc3fa82074e8dc8cf01aa746817236e5b'
- '97d450dfde9723007205d9c15645e6ad31b494648ea4636c2b80dbb4ba12dc2e'
- '86bca7f9d667f076e4c9e0f88fee60676baca7027d5a9619a8e60277f8d29f35')
+ 'bfaaca8ad7d1bcbc0a92d7d5ceadf7dc00592fe23084a70b18c8c89ede897d1d')
build() {
export GOPATH="${srcdir}"
@@ -39,12 +37,8 @@ package_lesspassgo-server() {
# binary
install -Dm755 "bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- # home dir
- install -dm750 -o 156 -g 156 "${pkgdir}/var/lib/${pkgname}"
# conf
install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
# service
install -Dm644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
- # user
- install -Dm644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
}