manjaro-architect/PKGBUILD

45 lines
1023 B
Bash
Raw Normal View History

# Maintainer: Chrysostomus @forum.manjaro.org
2017-02-17 22:30:55 +00:00
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
pkgbase=manjaro-architect
pkgname=('manjaro-architect' 'manjaro-architect-launcher')
pkgver=0.7.4.r78.g86f8c83
2017-02-11 11:36:41 +00:00
pkgrel=1
2017-02-17 22:30:55 +00:00
pkgdesc="Manjaro CLI net-installer, forked from the Archlinux Architect"
arch=(any)
url="https://github.com/Chrysostomus/$pkgbase"
license=(GPL2)
depends=('bash'
'dialog')
makedepends=('git')
source=("git+$url.git#branch=master")
md5sums=('SKIP')
2017-02-11 11:36:41 +00:00
pkgver() {
cd $pkgbase
2017-02-11 11:36:41 +00:00
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
2017-02-17 22:30:55 +00:00
build() {
cd $pkgbase
2017-02-17 22:30:55 +00:00
make PREFIX=/usr
}
2017-02-13 18:53:24 +00:00
package_manjaro-architect() {
depends+=('f2fs-tools'
'gptfdisk'
'manjaro-architect-launcher'
'manjaro-tools-base'
'mhwd'
'nilfs-utils'
'pacman-mirrorlist'
'parted')
cd $pkgbase
2017-02-17 22:30:55 +00:00
make PREFIX=/usr DESTDIR=${pkgdir} install
}
package_manjaro-architect-launcher() {
cd $pkgbase
install -Dm755 bin/setup $pkgdir/usr/bin/setup
}