summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Wambold2017-08-04 17:11:08 -0400
committerTom Wambold2017-08-04 17:11:08 -0400
commita1e295d464806ae46fea746d222eb65fbf44b908 (patch)
treed6ab59bbffe4e9367c21a90c650d96db064ccb97
parent492a31aca30d3931009b5d3441f2ef5ac3e064d8 (diff)
downloadaur-a1e295d464806ae46fea746d222eb65fbf44b908.tar.gz
Install service file.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 554ca1e4f15..3750ceff75b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = oauth2_proxy
pkgdesc = A reverse proxy that provides authentication with Google, Github or other providers.
pkgver = 2.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/bitly/oauth2_proxy
install = oauth2_proxy.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index a77f5ede0f6..152eab13693 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Tom Wambold <tom5760@gmail.com>
pkgname=oauth2_proxy
pkgver=2.2
-pkgrel=2
+pkgrel=3
pkgdesc="A reverse proxy that provides authentication with Google, Github or other providers."
arch=('i686' 'x86_64')
url="https://github.com/bitly/oauth2_proxy"
@@ -33,7 +33,9 @@ build() {
package() {
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/etc"
+ mkdir -p "$pkgdir/usr/lib/systemd/system"
install dist/oauth2_proxy "$pkgdir/usr/bin/oauth2_proxy"
install github.com/bitly/oauth2_proxy/contrib/oauth2_proxy.cfg.example "$pkgdir/etc/oauth2_proxy.cfg"
+ install oauth2_proxy.service "$pkgdir/usr/lib/systemd/system/oauth2_proxy.service"
}