summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorДамјан Георгиевски2020-06-09 01:04:06 +0200
committerДамјан Георгиевски2020-06-09 11:56:50 +0200
commitc5104f6d37d5861510c93004178437b941b03984 (patch)
tree89ef1a2e433a4615fae5d8e7d2603232d6523cf3
parent391456efc1a5535395838de623602710ddbac23b (diff)
downloadaur-c5104f6d37d5861510c93004178437b941b03984.tar.gz
update to v1.3.0
also add git submodules as sources https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_Submodules
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD37
2 files changed, 47 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 59a320d2e23..fa776951fd1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,28 @@
pkgbase = canonical-multipass
pkgdesc = Multipass is a lightweight VM manager for Linux, Windows and macOS.
- pkgver = 1.0.2
- pkgrel = 0.1
+ pkgver = 1.3.0
+ pkgrel = 1
url = https://multipass.run
arch = x86_64
license = GPL3
makedepends = cmake
- depends = gcc-libs
- depends = systemd-libs
- depends = libnsl
+ depends = apparmor
depends = qt5-base
- source = git+https://github.com/canonical/multipass.git#tag=v1.0.2
+ source = git+https://github.com/canonical/multipass.git#tag=v1.3.0
+ source = git+https://github.com/fmtlib/fmt.git
+ source = git+https://github.com/CanonicalLtd/grpc.git
+ source = git+https://git.tukaani.org/xz-embedded.git
+ source = git+https://github.com/CanonicalLtd/semver.git
+ source = git+https://github.com/ricab/scope_guard.git
+ source = git+https://github.com/Skycoder42/QHotkey.git
+ source = git+https://github.com/jbeder/yaml-cpp.git
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
sha256sums = SKIP
pkgname = canonical-multipass
diff --git a/PKGBUILD b/PKGBUILD
index 9e79ba02931..a9446d077d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,26 +2,48 @@
pkgname=canonical-multipass
_realname=multipass
-pkgver=1.0.2
-pkgrel=0.1
+pkgver=1.3.0
+pkgrel=1
pkgdesc="Multipass is a lightweight VM manager for Linux, Windows and macOS."
arch=('x86_64')
url="https://multipass.run"
license=('GPL3')
-depends=('gcc-libs' 'systemd-libs' 'libnsl' 'qt5-base')
+depends=('apparmor' 'qt5-base')
+optdepednds=('qt5-x11extras')
makedepends=('cmake')
-source=("git+https://github.com/canonical/${_realname}.git#tag=v${pkgver}")
+source=("git+https://github.com/canonical/${_realname}.git#tag=v${pkgver}"
+ git+https://github.com/fmtlib/fmt.git
+ git+https://github.com/CanonicalLtd/grpc.git
+ git+https://git.tukaani.org/xz-embedded.git
+ git+https://github.com/CanonicalLtd/semver.git
+ git+https://github.com/ricab/scope_guard.git
+ git+https://github.com/Skycoder42/QHotkey.git
+ git+https://github.com/jbeder/yaml-cpp.git
+)
+sha256sums=(SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP)
prepare() {
cd "${srcdir}/${_realname}"
- git submodule sync
- git submodule update --init --recursive
+ git submodule init
+
+ ### these are copied from the git submodules of the repo
+ git config submodule.3rd-party/fmt.url $srcdir/fmt
+ git config submodule.3rd-party/grpc.url $srcdir/grpc
+ git config submodule.3rd-party/qhotkey.url $srcdir/QHotkey
+ git config submodule.3rd-party/scope_guard.url $srcdir/scope_guard
+ git config submodule.3rd-party/semver.url $srcdir/semver
+ git config submodule.3rd-party/xz-decoder/xz-embedded.url $srcdir/xz-embedded
+ git config submodule.3rd-party/yaml-cpp.url $srcdir/yaml-cpp
+
+ git submodule update --recursive
}
build() {
mkdir -p "_build"
cd "_build"
+ export CXXFLAGS=-Wno-error=deprecated-declarations
cmake \
+ -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
"${srcdir}/${_realname}"
@@ -29,7 +51,6 @@ build() {
}
package() {
+ cd "_build"
make DESTDIR="$pkgdir" install
}
-
-sha256sums=(SKIP)