pkgname=alterlinux-calamares
pkgver=3.2.20
-pkgrel=1
+pkgrel=2
pkgdesc='Distribution-independent installer framework'
arch=('i686' 'x86_64')
license=(GPL)
sha256sums=('SKIP')
prepare() {
- # rename
- mv ${srcdir}/${pkgname}-${pkgver}-${pkgrel} ${srcdir}/${pkgname}-${pkgver}
- cd ${srcdir}/${pkgname}-${pkgver}
+ # rename
+ mv ${srcdir}/${pkgname}-${pkgver}-${pkgrel} ${srcdir}/${pkgver}-${pkgrel}
+ cd ${srcdir}/${pkgver}-${pkgrel}
sed -i -e 's/"Install configuration files" OFF/"Install configuration files" ON/' CMakeLists.txt
# change branding
}
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgver}-${pkgrel}
mkdir -p build
cd build
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}/build
+ cd ${srcdir}/${pkgver}-${pkgrel}/build
make DESTDIR="$pkgdir" install
install -Dm755 "../data/final-process" "$pkgdir/usr/share/calamares/final-process"
install -Dm644 "../data/alter-icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/calamares.svg"