manjaro-architect/PKGBUILD

39 lines
797 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>
pkgname=manjaro-architect
2017-02-18 00:12:27 +00:00
pkgver=0.7.4.r42.g79967a2
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)
2017-02-18 00:12:27 +00:00
url="https://github.com/Chrysostomus/$pkgname"
license=(GPL2)
depends=('bash'
2017-02-17 22:53:04 +00:00
'dialog'
'f2fs-tools'
'gptfdisk'
'manjaro-tools-base'
'mhwd'
'nilfs-utils'
'pacman'
'pacman-mirrorlist'
'parted')
makedepends=('git')
2017-02-18 00:12:27 +00:00
source=("git+$url.git")
md5sums=('SKIP')
2017-02-11 11:36:41 +00:00
pkgver() {
2017-02-18 00:12:27 +00:00
cd $pkgname
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() {
2017-02-18 00:12:27 +00:00
cd $pkgname
2017-02-17 22:30:55 +00:00
make PREFIX=/usr
}
2017-02-13 18:53:24 +00:00
2017-02-17 22:30:55 +00:00
package() {
2017-02-18 00:12:27 +00:00
cd $pkgname
2017-02-17 22:30:55 +00:00
make PREFIX=/usr DESTDIR=${pkgdir} install
}