Skip to content
Snippets Groups Projects
PKGBUILD 1.24 KiB
Newer Older
Helmut Stult's avatar
Helmut Stult committed
# Maintainer: Dan Johansen <strit@manjaro.org>
# Contributor: Helmut Stult <helmut@manjaro.org>

pkgname=manjaro-arm-installer
Helmut Stult's avatar
Helmut Stult committed
pkgver=1.4.0
pkgrel=1.3
Helmut Stult's avatar
Helmut Stult committed
pkgdesc="Scripts to install Manjaro ARM directly to SD/eMMC cards"
Helmut Stult's avatar
Helmut Stult committed
arch=('x86_64' 'aarch64')
Helmut Stult's avatar
Helmut Stult committed
url="https://gitlab.manjaro.org/packages/community/$pkgname"
license=('GPL3')
Helmut Stult's avatar
Helmut Stult committed
depends_x86_64=('dialog'
                'gawk'
                'git'
                'libarchive'
                'manjaro-arm-qemu-static'
                'parted'
                'wget'
                'openssl'
                'dosfstools'
                'polkit')
depends_aarch64=('dialog'
                 'gawk'
                 'git'
                 'libarchive'
                 'parted'
                 'wget'
                 'openssl'
                 'dosfstools'
                 'polkit')
Helmut Stult's avatar
Helmut Stult committed
source=("https://gitlab.manjaro.org/manjaro-arm/applications/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
Helmut Stult's avatar
Helmut Stult committed
sha256sums=('84357df1cc96218bac4b660ac7f56b46dacc6b2d8a77c419b176988199c26da2')
Helmut Stult's avatar
Helmut Stult committed

package() {
    cd $pkgname-$pkgver
Helmut Stult's avatar
Helmut Stult committed
    install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
}

post_install() {
    echo "A reboot is recommended after installing manjaro-arm-installer."
    echo "Otherwise, the generated images might not work."
Helmut Stult's avatar
Helmut Stult committed
}