This repository has been archived by the owner on Sep 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[architect] move setup script to separate package
- Loading branch information
Bernhard Landauer
committed
Feb 19, 2017
1 parent
064e2da
commit ddbfcf3
Showing
2 changed files
with
46 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,44 @@ | ||
# Maintainer: Chrysostomus @forum.manjaro.org | ||
# Maintainer: Bernhard Landauer <oberon@manjaro.org> | ||
|
||
pkgname=manjaro-architect | ||
pkgver=0.7.4.r58.g4664f19 | ||
pkgbase=manjaro-architect | ||
pkgname=('manjaro-architect' 'manjaro-architect-launcher') | ||
pkgver=0.7.4.r78.g86f8c83 | ||
pkgrel=1 | ||
pkgdesc="Manjaro CLI net-installer, forked from the Archlinux Architect" | ||
arch=(any) | ||
url="https://github.com/Chrysostomus/$pkgname" | ||
url="https://github.com/Chrysostomus/$pkgbase" | ||
license=(GPL2) | ||
depends=('bash' | ||
'dialog' | ||
'f2fs-tools' | ||
'gptfdisk' | ||
'manjaro-tools-base' | ||
'mhwd' | ||
'nilfs-utils' | ||
'pacman' | ||
'pacman-mirrorlist' | ||
'parted') | ||
'dialog') | ||
makedepends=('git') | ||
source=("git+$url.git#branch=master") | ||
md5sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $pkgname | ||
cd $pkgbase | ||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd $pkgname | ||
cd $pkgbase | ||
make PREFIX=/usr | ||
} | ||
|
||
package() { | ||
cd $pkgname | ||
package_manjaro-architect() { | ||
depends+=('f2fs-tools' | ||
'gptfdisk' | ||
'manjaro-architect-launcher' | ||
'manjaro-tools-base' | ||
'mhwd' | ||
'nilfs-utils' | ||
'pacman-mirrorlist' | ||
'parted') | ||
cd $pkgbase | ||
make PREFIX=/usr DESTDIR=${pkgdir} install | ||
} | ||
|
||
package_manjaro-architect-launcher() { | ||
cd $pkgbase | ||
install -Dm755 bin/setup $pkgdir/usr/bin/setup | ||
} |