blob: 084d70d74d103bcd558ce9b6a7b3379fc6f730dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: bill-auger <bill-auger@programmer.net>
pkgname=calamares
pkgver=3.1.9
pkgrel='parabola9.8'
pkgdesc='Distribution-independent installer framework - Parabola edition'
arch=('i686' 'x86_64')
url=https://calamares.io/
license=('GPL')
_latest_version() { pacman -Si $1 | awk '$1=="Version" { sub (/-.*/, "" , $3) ; print $3 }' ; }
_build_couplings=("boost=$(_latest_version 'boost')")
_runtime_couplings=("boost-libs=$(_latest_version 'boost')"
"icu=$(_latest_version 'icu')"
"kpmcore=$(_latest_version 'kpmcore')"
"qt5-base=$(_latest_version 'qt5-base')")
makedepends=(${_build_couplings[@]} 'extra-cmake-modules' 'git' 'kservice' \
'kwindowsystem' 'plasma-framework' 'qt5-tools')
depends=(${_runtime_couplings[@]} 'ckbcomp' 'dmidecode' 'gptfdisk' 'hwinfo' 'kconfig'
'kcoreaddons' 'ki18n' 'kparts' 'libpwquality' 'os-prober' 'polkit-qt5' 'python'
'solid' 'qt5ct' 'qt5-svg' 'yaml-cpp')
_git_tag="v${pkgver}-${pkgrel%%.*}"
_build_dir=${pkgname}-${_git_tag}/build
source=(https://git.parabola.nu/${pkgname}.git/snapshot/${pkgname}-${_git_tag}.tar.gz)
sha256sums=('67547f1b376917ec8c8e0b94a0e8f6395e9a1a97a57e52f2bcb877736fc100b8')
build()
{
mkdir -p ${srcdir}/${_build_dir}
cd ${srcdir}/${_build_dir}
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()
{
cd ${srcdir}/${_build_dir}
make DESTDIR=${pkgdir} install
}
|