summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ruhier2016-10-30 02:32:12 +0100
committerAnthony Ruhier2016-10-30 02:32:12 +0100
commitde8ac2b1d2718eb31d4e80e2d27c734862fabd4a (patch)
tree7e3ea7af5d8107aee1a37adca323341939898613
parent941bdef1e0a304e01b36db1b61b7e63b8caebb60 (diff)
downloadaur-de8ac2b1d2718eb31d4e80e2d27c734862fabd4a.tar.gz
Fix bad directory
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0f195d3d26e..5642353000f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_name=netbox
pkgname=${_name}
pkgver=1.6.3
-pkgrel=3
+pkgrel=4
pkgdesc="IP address management (IPAM) and data center infrastructure management (DCIM) tool."
arch=('any')
url="https://github.com/digitalocean/${_name}"
@@ -47,7 +47,7 @@ backup=('etc/netbox/gunicorn_config.py')
package() {
mkdir -p "${pkgdir}/opt/${_name}"
chmod 775 "${pkgdir}/opt/${_name}"
- cp -r ${_name}-${pkgver}/* "$pkgdir/opt/${_name}"
+ cp -r ${_name}-${pkgver}/${_name} "$pkgdir/opt/${_name}"
install -D -m644 ${_name}-system.service "$pkgdir/usr/lib/systemd/system/${_name}.service"
install -D -m644 ${_name}.tmpfile "$pkgdir/usr/lib/tmpfiles.d/${_name}.conf"