mirror of
https://github.com/built-aur/packages
synced 2024-08-14 23:01:15 +00:00
fix calamares
This commit is contained in:
parent
ad447bbdd5
commit
34627f5485
2 changed files with 39 additions and 2 deletions
39
packages/calamares/PKGBUILD
Normal file
39
packages/calamares/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
|
||||
|
||||
pkgname=calamares
|
||||
pkgver=3.2.49.1
|
||||
pkgrel=1
|
||||
pkgdesc='Universal linux distro graphical installer'
|
||||
arch=('x86_64')
|
||||
license=('GPL3')
|
||||
url='https://calamares.io/'
|
||||
depends=('binutils' 'fakeroot' 'gcc' 'boost' 'patch' 'qt5-tools' 'yaml-cpp' 'ack' 'kpmcore' 'qt5-location' 'icu' 'qt5-declarative' 'qt5-translations' 'qt5-xmlpatterns' 'kiconthemes' 'kservice' 'kio' 'kparts' 'cmake' 'autoconf' 'automake' 'bison' 'flex' 'git' 'libtool' 'm4' 'make' 'extra-cmake-modules' 'appstream-qt' 'squashfs-tools' 'fish' 'libpwquality' 'python3' 'python-qt.py' 'python-qtpy' 'qt5-webengine' 'python-pip')
|
||||
source=("https://github.com/calamares/calamares/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha256sums=('86bdceb90eb81d42596b780ccd99385002e2b8d45d8fae836156d37b5122d020')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
# apply patch from the source array (should be a pacman feature)
|
||||
local filename
|
||||
for filename in "${source[@]}"; do
|
||||
if [[ "$filename" =~ \.patch$ ]]; then
|
||||
echo "Applying patch ${filename##*/}"
|
||||
patch -p1 -N -i "$srcdir/${filename##*/}"
|
||||
fi
|
||||
done
|
||||
# :
|
||||
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps pylint
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DWITH_PYTHONQT=ON -DAppStreamQt_DIR=... ..
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver/build
|
||||
make DESTDIR="$pkgdir/" install
|
||||
rf "$pkgdir/etc/calamares/*"
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
AUR_NAME="calamares"
|
||||
AUR_UPDATED="1677435736"
|
Loading…
Reference in a new issue