summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRichard Neumann2019-01-26 11:28:41 +0100
committerRichard Neumann2019-01-26 11:28:41 +0100
commit2cb52bf9d3d449365783effd3f7734e79337dee0 (patch)
treeb66ae94343004f314a8a93a0b50b3f0597f99582 /PKGBUILD
parentf643bc93b605fc10d6b0c182dd151d1560414fa2 (diff)
downloadaur-2cb52bf9d3d449365783effd3f7734e79337dee0.tar.gz
Added sample config.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 07f980719422..4f34bba8c1e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgbase='macreg'
pkgname="${_pkgbase}-git"
-pkgver=r89.ac3050c
+pkgver=r94.276de85
pkgrel=1
pkgdesc='Micro web service to allow local users to register MAC addresses'
arch=('any')
@@ -21,6 +21,7 @@ provides=("python-${_pkgbase}" "${_pkgbase}")
conflicts=("python-${_pkgbase}" "${_pkgbase}")
source=("${_pkgbase}::git+${url}.git")
md5sums=('SKIP')
+backup=('etc/macreg.conf')
pkgdir='pkg'
srcdir='src'
@@ -43,6 +44,7 @@ package() {
local UWSGI="${pkgdir}/etc/uwsgi"
install -m 755 -d "${UWSGI}"
install -m 644 -t "${UWSGI}" macreg.ini
+ install -m 644 macreg.conf.sample "${pkgdir}/etc/macreg.conf"
install -Dm 755 macregctl "${pkgdir}/usr/bin/macregctl"
popd || exit 1