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-13 18:53:24 +00:00
|
|
|
|
|
|
|
_bindir=$pkgdir/usr/bin
|
|
|
|
_sharedir=$pkgdir/usr/share
|
2017-02-13 18:59:37 +00:00
|
|
|
_datadir=$_sharedir/aif
|
2017-02-13 18:53:24 +00:00
|
|
|
_launchdir=$pkgdir/usr/share
|
|
|
|
|
2017-02-10 14:59:41 +00:00
|
|
|
cd $_pkgname
|
2017-02-13 18:53:24 +00:00
|
|
|
install -Dm755 $pkgname $_bindir/$pkgname
|
|
|
|
install -m755 setup $_bindir/setup
|
|
|
|
install -m755 ma-launcher $_bindir/ma-launcher
|
|
|
|
mkdir -p $_datadir/{package-lists,translations}
|
|
|
|
cp -r package-lists $_datadir
|
|
|
|
cp -r translations $_datadir
|
|
|
|
install -Dm644 $pkgname.desktop $_sharedir/applications/$pkgname.desktop
|
|
|
|
install -Dm644 $pkgname.png $_sharedir/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
|
2017-01-08 21:36:21 +00:00
|
|
|
}
|