diff --git a/platform/ARCH/PKGBUILD b/platform/ARCH/PKGBUILD index 3804f50..0dfb30c 100644 --- a/platform/ARCH/PKGBUILD +++ b/platform/ARCH/PKGBUILD @@ -3,7 +3,7 @@ #PKGBUILD #Sofyan Saputra/Iank (meongbego@gmail.com) -pkgname=ign-sdk +pkgname=ignsdk pkgver=1.1.2 pkgrel=112913 pkgdesc="IGN Software Development Kit" @@ -16,7 +16,22 @@ source=('https://github.com/anak10thn/ignsdk-qt/archive/v1.1.2.tar.gz') md5sums=('SKIP') _gourl=github.com/anak10thn/ignsdk-qt install='ignsdk.install' - + +prepare(){ + echo -e "press [y] if you want to install the package ign-sdk-dev-tools package download now \n" + echo -e "press any key to next step" + read -p 'choose your select : ' select + if [ $select == 'y' ] + then + mkdir /tmp/ignsdk-dev/ + wget -P /tmp/ignsdk-dev/ http://arch.ignsdk.web.id/archlinux/i686/arch-dev-tools/PKGBUILD + wget -P /tmp/ignsdk-dev/ http://arch.ignsdk.web.id/archlinux/i686/arch-dev-tools/arch-dev-tools.install + echo -e "Download Success\n" + echo -e "Next Process.." + else + echo -e "process completed without equipment ignsdk-dev-tools\n" + fi +} build() { cd ignsdk-qt-1.1.2 qmake diff --git a/platform/ARCH/arch-dev-tools/PKGBUILD b/platform/ARCH/arch-dev-tools/PKGBUILD index 6839f10..f690865 100644 --- a/platform/ARCH/arch-dev-tools/PKGBUILD +++ b/platform/ARCH/arch-dev-tools/PKGBUILD @@ -3,7 +3,7 @@ #PKGBUILD #Sofyan Saputra/Iank (meongbego@gmail.com) -pkgname=ign-sdk +pkgname=ignsdk-dev-tools pkgver=1.1.2 pkgrel=112913 pkgdesc="IGN Software Development Kit Developer Tools" @@ -12,12 +12,13 @@ arch=('x86_64' 'i686') license=('BSD') depends=('ignsdk') options=('!strip' '!emptydirs') +source=('http://arch.ignsdk.web.id/archlinux/i686/arch-dev.tar.gz') md5sums=('SKIP') _gourl=github.com/anak10thn/ignsdk-qt install='arch-dev-tools.install' package(){ - cd ../../src/ignsdk-qt-1.1.2 + cd arch-dev mkdir -p $pkgdir/usr/bin mkdir -p $pkgdir/usr/share/ign-sdk/bin/ mkdir -p $pkgdir/usr/share/man/man1/ diff --git a/platform/ARCH/arch-dev-tools/arch-dev-tools.install b/platform/ARCH/arch-dev-tools/arch-dev-tools.install index 620daec..acc5bc1 100644 --- a/platform/ARCH/arch-dev-tools/arch-dev-tools.install +++ b/platform/ARCH/arch-dev-tools/arch-dev-tools.install @@ -1,4 +1,5 @@ post_install(){ man -a -u ignsdk-app-builder man -a -u ignsdk-app-creator + rm -rf /tmp/ignsdk-dev/ } diff --git a/platform/ARCH/ignsdk.install b/platform/ARCH/ignsdk.install index c341983..a228e70 100644 --- a/platform/ARCH/ignsdk.install +++ b/platform/ARCH/ignsdk.install @@ -1,3 +1,31 @@ post_install(){ + echo -e "if you select the installation ign-sdk-dev-tools do the packaging immediately after the process is completed\n" + echo -e "The Packaging process will use root mode if you Agree Press Y\n" + echo -e "choose your select [y] to build :" + read -p '' select + if [ $select == 'y' ] + then + + cd /tmp/ignsdk-dev/ + makepkg -sf --asroot + echo -e "Build Package Sucess\n" + echo -e "making package is over see /tmp/ignsdk-dev/" + echo -e "installing package when istalling this software" + echo -e "go command :\n" + echo -e "sudo pacman -U /tmp/ignsdk-dev/ignsdk-dev-tools-1.1.2-112913-i686.pkg.tar.xz\n" + + else + rm -rf /tmp/ignsdk-dev/ + echo -e "Next to make package-dev-tools ignsdk please download here https://aur.archlinux.org/packages/ig/ignsdk-dev-tools/ignsdk-dev-tools.tar.gz\n" + fi + + + echo -e "see the following users guides" man -u -a ignsdk + echo -e "Thank You For Installations" +} + +post_remove(){ + echo -e "thanks for your installations\n" + echo -e "good bye" }