2017-01-08 21:36:21 +00:00
|
|
|
# Maintainer: Chrysostomus @forum.manjaro.org
|
|
|
|
|
|
|
|
pkgname=manjaro-architect
|
2017-02-10 14:59:41 +00:00
|
|
|
_pkgname=aif-dev
|
2017-02-12 02:16:05 +00:00
|
|
|
pkgver=0.7.3.r5.g2be235c
|
2017-02-11 11:36:41 +00:00
|
|
|
pkgrel=1
|
2017-02-10 14:59:41 +00:00
|
|
|
pkgdesc="A clone of architect installer modified for manjaro"
|
2017-01-08 21:36:21 +00:00
|
|
|
arch=(any)
|
2017-02-10 14:59:41 +00:00
|
|
|
url="https://github.com/Chrysostomus/$_pkgname"
|
2017-01-08 21:36:21 +00:00
|
|
|
license=(GPL2)
|
2017-02-10 14:59:41 +00:00
|
|
|
depends=('bash'
|
2017-01-08 21:36:21 +00:00
|
|
|
'dialog'
|
2017-01-27 19:25:45 +00:00
|
|
|
'f2fs-tools'
|
2017-02-10 14:59:41 +00:00
|
|
|
'gptfdisk'
|
|
|
|
'manjaro-tools-base'
|
|
|
|
'mhwd'
|
|
|
|
'nilfs-utils'
|
|
|
|
'pacman'
|
|
|
|
'pacman-mirrorlist'
|
|
|
|
'parted')
|
2017-01-08 21:36:21 +00:00
|
|
|
makedepends=('git')
|
2017-02-10 14:59:41 +00:00
|
|
|
source=("git+$url.git")
|
2017-01-08 21:36:21 +00:00
|
|
|
md5sums=('SKIP')
|
2017-02-10 14:59:41 +00:00
|
|
|
|
2017-02-11 11:36:41 +00:00
|
|
|
pkgver() {
|
|
|
|
cd $_pkgname
|
|
|
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
2017-01-08 21:36:21 +00:00
|
|
|
package () {
|
2017-02-10 14:59:41 +00:00
|
|
|
cd $_pkgname
|
2017-02-10 16:27:47 +00:00
|
|
|
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
|
2017-02-10 14:59:41 +00:00
|
|
|
mkdir -p $pkgdir/usr/share/aif/{package-lists,translations}
|
|
|
|
cp -r package-lists $pkgdir/usr/share/aif/
|
|
|
|
cp -r translations $pkgdir/usr/share/aif/
|
|
|
|
install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
|
|
|
|
install -Dm644 $pkgname.png $pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png
|
2017-02-10 16:27:47 +00:00
|
|
|
install -Dm644 ma-launcher.desktop $pkgdir/etc/skel/.config/autostart/ma-launcher.desktop
|
|
|
|
install -m755 ma-launcher $pkgdir/usr/bin/ma-launcher
|
2017-01-08 21:36:21 +00:00
|
|
|
}
|