summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergej Pupykin2023-04-20 21:20:33 +0300
committerSergej Pupykin2023-04-20 21:20:33 +0300
commit042bc44d994fb5cc0a6bfb5bc3dd1b910d2e8268 (patch)
tree7d67433f85e2f76e236700cca232fad01d3a56a1
parentb11dc6f413330bcd6c1567a12158e66b4c58b38d (diff)
downloadaur-042bc44d994fb5cc0a6bfb5bc3dd1b910d2e8268.tar.gz
upd
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 62e27cb28abb..8ac87548fa24 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nginx-totp-auth
pkgdesc = totp auth for nginx
pkgver = r16.09bf6d9
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/davidgfnet/nginx_totp_auth
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 6e2fcafb4f0e..0c1caf4224c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=nginx-totp-auth
pkgver=r16.09bf6d9
-pkgrel=1
+pkgrel=2
pkgdesc="totp auth for nginx"
arch=(x86_64 i686)
url="https://github.com/davidgfnet/nginx_totp_auth"
@@ -25,6 +25,7 @@ build() {
package() {
cd "$srcdir/nginx_totp_auth"
install -Dm0755 server.bin "$pkgdir"/usr/lib/$pkgname/$pkgname.bin
- install -Dm0644 nginx.config.sample "$pkgdir"/etc/$pkgname.conf
+ install -Dm0644 nginx.config.sample "$pkgdir"/usr/share/doc/$pkgname/nginx.config.sample
+ install -Dm0644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
install -Dm0644 ../nginx-totp-auth.service "$pkgdir"/usr/lib/systemd/system/nginx-totp-auth.service
}