diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2017-12-11 11:51:43 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2017-12-11 11:51:51 -0500 |
commit | cfeb34ed7ab4dd917de5ea56cd12240cd3c8ea60 (patch) | |
tree | 7f7f61152fdffdd88875ac73d252fa51a6e2bdba /pcr-testing | |
parent | 78d81c0741495c0d964e2bf2b5da490e7eac0de9 (diff) | |
download | abslibre-cfeb34ed7ab4dd917de5ea56cd12240cd3c8ea60.tar.gz abslibre-cfeb34ed7ab4dd917de5ea56cd12240cd3c8ea60.tar.bz2 abslibre-cfeb34ed7ab4dd917de5ea56cd12240cd3c8ea60.zip |
[calamares]: upgrade
Diffstat (limited to 'pcr-testing')
-rw-r--r-- | pcr-testing/calamares/PKGBUILD | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/pcr-testing/calamares/PKGBUILD b/pcr-testing/calamares/PKGBUILD index 00b8cf132..4d155c8a6 100644 --- a/pcr-testing/calamares/PKGBUILD +++ b/pcr-testing/calamares/PKGBUILD @@ -2,39 +2,41 @@ pkgname=calamares -pkgver=3.1.0 -pkgrel=3 +pkgver=3.1.9 +pkgrel='parabola1.1' pkgdesc='Distribution-independent installer framework - Parabola edition' arch=('i686' 'x86_64') license=('GPL') url="https://calamares.io/" -depends=('boost-libs' 'dmidecode' 'gptfdisk' 'hwinfo' 'kconfig' 'kcoreaddons' 'ki18n' - 'kparts' 'kpmcore' 'polkit-qt5' 'python' 'squashfs-tools' 'solid' 'qt5ct' - 'qt5-styleplugins' 'qt5-svg' 'yaml-cpp') -makedepends=('boost' 'extra-cmake-modules' 'git' 'qt5-tools') +_latest_version() { pacman -Si $1 | grep Version | cut -d ':' -f 2 | sed 's/\s//g' ; } +_build_couplings=("boost=$(_latest_version 'boost')") +_runtime_couplings=("boost-libs=$(_latest_version 'boost')" + "kpmcore=$(_latest_version 'kpmcore')") +makedepends=(${_build_couplings[@]} 'extra-cmake-modules' 'git' 'qt5-tools') +depends=(${_runtime_couplings[@]} 'dmidecode' 'gptfdisk' 'hwinfo' 'kconfig' 'kcoreaddons' + 'ki18n' 'kparts' 'os-prober' 'polkit-qt5' 'python' 'squashfs-tools' 'solid' + 'qt5ct' 'qt5-styleplugins' 'qt5-svg' 'yaml-cpp') -_git_tag="${pkgver}-parabola-alpha${pkgrel}" +_git_tag="${pkgver}-${pkgrel%%.*}" source=("https://notabug.org/bill-auger/calamares/archive/v${_git_tag}.tar.gz") -# sha256sums=('6ae55f567d5eafdb781dc84988dec184637fa7cf8bd55d7a2157b2d920880d52') # alpha1 -# sha256sums=('a118ad28e7fd9b9b9603a7b79374c7e7d5c6ca9d41d6ba06137db94cdce05e5c') # alpha2 -sha256sums=('7a6ccf64ce7f56527a99e0eee1c46d698308c6f5bcabac9813c9151c48bd17f6') # alpha3 +sha256sums=('4ce0da2894a7f474c10af65d4c32fd595640bf2307cddaffd0f6636a717f4b65') -build() { +build() +{ mkdir -p ${srcdir}/calamares/build cd ${srcdir}/calamares/build - cmake -DCMAKE_BUILD_TYPE=Debug \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DWITH_CRASHREPORTER=OFF \ - -DSKIP_MODULES="dracut dracutlukscfg dummycpp dummyprocess dummypython \ - dummypythonqt grubcfg initramfs initramfscfg \ - interactiveterminal license luksbootkeyfile \ - luksopenswaphookcfg plymouthcfg removeuser webview" .. + cmake -DCMAKE_BUILD_TYPE=Debug \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DSKIP_MODULES="dracut dracutlukscfg dummycpp dummyprocess dummypython \ + dummypythonqt initramfs initramfscfg interactiveterminal \ + license plymouthcfg removeuser tracking webview" .. } -package() { +package() +{ cd ${srcdir}/calamares/build make DESTDIR="$pkgdir" install } |