summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorasm0dey2018-10-14 15:59:05 +0300
committerasm0dey2018-10-14 15:59:05 +0300
commitb73c68deb3ce4a1e5aa6842599a2e00c2e4ed8de (patch)
tree2cc625e3710389c092be99c7ce30a6191d8d853f /PKGBUILD
parent60f6e43a1b9e860389c23380be0babd342c9ed89 (diff)
downloadaur-b73c68deb3ce4a1e5aa6842599a2e00c2e4ed8de.tar.gz
Adds hook support for user creation
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c761dc846bf..b514d117a48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: asm0dey <pavel.finkelshtein+AUR@gmail.com>
pkgname=3proxy
pkgver=0.8.12
-pkgrel=3
+pkgrel=4
pkgdesc="A tiny crossplatform proxy server"
arch=('any')
url="http://www.3proxy.ru/"
@@ -13,7 +13,7 @@ source=("https://github.com/z3APA3A/3proxy/archive/$pkgver.tar.gz"
"3proxy.service"
)
md5sums=('f8ccbe689ff8da8ff67942fc440187ae'
- '107033a7d0d3584c72de16f7953b139e'
+ '99fbf305116df79fde910402c1132295'
)
_prefix=/usr
_etcdir=/etc/3proxy
@@ -29,6 +29,7 @@ package() {
install -D -m644 cfg/3proxy.cfg.sample ${pkgdir}${_etcdir}/3proxy.cfg.sample
install -D -m644 cfg/counters.sample ${pkgdir}${_etcdir}/counters.sample
mkdir -p "$pkgdir/usr/lib/systemd/system/"
+ echo 'u threeproxy - "3proxy user"' | install -Dm644 /dev/stdin "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
install -D -m644 "$srcdir/3proxy.service" "$pkgdir/usr/lib/systemd/system/"
}