summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b76e7f859aaf..471d0a144ab6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = macreg-git
pkgdesc = Micro web service to allow local users to register MAC addresses
- pkgver = r89.ac3050c
+ pkgver = r94.276de85
pkgrel = 1
url = https://github.com/coNQP/macreg
arch = any
@@ -18,6 +18,7 @@ pkgbase = macreg-git
provides = macreg
conflicts = python-macreg
conflicts = macreg
+ backup = etc/macreg.conf
source = macreg::git+https://github.com/coNQP/macreg.git
md5sums = SKIP
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