diff options
author | Asterios Dimitriou | 2019-06-29 21:34:38 +0300 |
---|---|---|
committer | Asterios Dimitriou | 2019-06-29 21:35:21 +0300 |
commit | e843baad956bdef16678ba9336484b181f3cb2a2 (patch) | |
tree | d2649ac49cc3cde92c58210ef9e222f38718de0d | |
parent | f1666fd131ba9b1f42f7f6549c883533a4575278 (diff) | |
download | aur-e843baad956bdef16678ba9336484b181f3cb2a2.tar.gz |
Copy new dependencies to lxd folder
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = lxd-git pkgdesc = Daemon based on liblxc offering a REST API to manage containers pkgver = 3.14.r151.4f54c17ea - pkgrel = 1 + pkgrel = 2 url = https://github.com/lxc/lxd arch = x86_64 license = APACHE @@ -17,6 +17,7 @@ pkgbase = lxd-git optdepends = thin-provisioning-tools: for thin provisioning support optdepends = btrfs-progs: for btrfs storage driver support optdepends = ceph: for ceph storage driver support + optdepends = jq: needed by empty-lxd.sh script provides = lxd conflicts = lxd conflicts = lxd-lts @@ -6,7 +6,7 @@ pkgname=lxd-git _pkgname=lxd pkgver=3.14.r151.4f54c17ea -pkgrel=1 +pkgrel=2 pkgdesc="Daemon based on liblxc offering a REST API to manage containers" arch=('x86_64') url="https://github.com/lxc/lxd" @@ -19,6 +19,7 @@ optdepends=('lvm2: for lvm2 support' 'thin-provisioning-tools: for thin provisioning support' 'btrfs-progs: for btrfs storage driver support' 'ceph: for ceph storage driver support' + 'jq: needed by empty-lxd.sh script' ) options=('!strip' '!emptydirs') source=("git+https://github.com/lxc/lxd.git" @@ -64,6 +65,8 @@ package() { patchelf --set-rpath "/usr/lib/lxd" "${pkgdir}/usr/bin/lxd" cp --no-dereference --preserve=timestamps \ "${go_deps_dir}/sqlite/.libs/"libsqlite3.so* \ + "${go_deps_dir}/libco/"libco.so* \ + "${go_deps_dir}/raft/.libs/"libraft.so* \ "${go_deps_dir}/dqlite/.libs/"libdqlite.so* \ "${pkgdir}/usr/lib/lxd" patchelf --set-rpath "/usr/lib/lxd" "${pkgdir}/usr/lib/lxd/libdqlite.so" @@ -84,7 +87,7 @@ package() { # helper scripts install -p -m644 "${srcdir}/go/src/${_lxd}/scripts/bash/lxd-client" \ "${pkgdir}/usr/share/bash-completion/completions/lxd" - install -p -m644 "${srcdir}/go/src/${_lxd}/scripts/empty-lxd.sh" "${pkgdir}/usr/lib/lxd" + install -p -m755 "${srcdir}/go/src/${_lxd}/scripts/empty-lxd.sh" "${pkgdir}/usr/lib/lxd" } # vim:set ts=2 sw=2 et: |