Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #92 from anak10thn/arch-v1.1.2
Browse files Browse the repository at this point in the history
Arch packaging for v1.1.2
  • Loading branch information
ubunteroz committed Nov 29, 2013
2 parents b68294a + b9f2415 commit 4bff081
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 42 deletions.
5 changes: 0 additions & 5 deletions bin/ignsdk-arch-creator
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,3 @@ $(date +"%a, %d %b %Y %T %z")
EOF

if [ -d $HOME_APP/Archbuild ]; then
sleep 0
else
mkdir -p $HOME_APP/ArchBuild
fi
8 changes: 8 additions & 0 deletions platform/ARCH/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
2013-11-028 Your Name <[email protected]>

* pkgver-pkgrel :
release on alamang 1.1.2
added new pakcage for arch-dev-tools
added new manual ignsdk-app-creator
added new manual ignsdk-app-builder

50 changes: 15 additions & 35 deletions platform/ARCH/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,39 @@
#Sofyan Saputra/Iank ([email protected])

pkgname=ign-sdk
pkgver=
pkgrel=1
pkgver=1.1.2
pkgrel=112913
pkgdesc="IGN Software Development Kit"
url="https://github.com/anak10thn/ignsdk-qt"
arch=('x86_64' 'i686')
license=('BSD')
depends=('qt' 'qtwebkit' 'qjson' 'mariadb')
makedepends=('qt' 'qtwebkit' 'qjson' 'git' 'mariadb')
depends=('qt5-base' 'qtwebkit' 'mariadb')
options=('!strip' '!emptydirs')
source=('ign-sdk::git://github.com/anak10thn/ignsdk-qt.git')
source=('https://github.com/anak10thn/ignsdk-qt/archive/v1.1.2.tar.gz')
md5sums=('SKIP')
_gourl=github.com/anak10thn/ignsdk-qt


pkgver (){
cd ign-sdk
${VERSION:-git}

}
install='ignsdk.install'

build() {
cd ign-sdk
qmake
make
cd ignsdk-qt-1.1.2
qmake
make
}

package() {
cd ign-sdk
cd ignsdk-qt-1.1.2
mkdir -p $pkgdir/usr/bin/
mkdir -p $pkgdir/usr/share/ign-sdk/bin/
mkdir -p $pkgdir/etc/
mkdir -p $pkgdir/usr/share/ign-sdk
mkdir -p $pkgdir/usr/share/man/man1

mv ignsdk $pkgdir/usr/bin/
cp -rf css $pkgdir/usr/share/ign-sdk/
cp -rf img $pkgdir/usr/share/ign-sdk/
cp -rf js $pkgdir/usr/share/ign-sdk/
cp -rf LICENSE.BSD $pkgdir/usr/share/ign-sdk/
cp -rf test $pkgdir/usr/share/ign-sdk/
cp -rf template $pkgdir/usr/share/ign-sdk/
cp -rf bin/ignsdk-app-creator $pkgdir/usr/bin/
cp -rf bin/ignsdk-app-builder $pkgdir/usr/bin/

cp -rf bin/ignsdk-arch-builder $pkgdir/usr/share/ign-sdk/bin/
cp -rf bin/ignsdk-arch-creator $pkgdir/usr/share/ign-sdk/bin/

chmod 755 $pkgdir/usr/share/ign-sdk/bin/
cp -rf dist $pkgdir/etc/dist/

cp -rf doc/ignsdk.man.1.gz $pkgdir/usr/share/man/man1/

echo "arch" > $pkgdir/etc/ignsdk-dist

install -Dm 755 ignsdk $pkgdir/usr/bin/
install -Dm 644 LICENSE.BSD $pkgdir/usr/share/ign-sdk/license

mv $pkgdir/usr/share/ign-sdk/LICENSE.BSD $pkgdir/usr/share/ign-sdk/license
install -Dm644 doc/ignsdk.man.1.gz $pkgdir/usr/share/man/man1/

rm -rf *.o

Expand Down
40 changes: 40 additions & 0 deletions platform/ARCH/arch-dev-tools/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
##Author##
#Eka Tresna Irawan/Ibnu Yahya ([email protected])
#PKGBUILD
#Sofyan Saputra/Iank ([email protected])

pkgname=ign-sdk
pkgver=1.1.2
pkgrel=112913
pkgdesc="IGN Software Development Kit Developer Tools"
url="https://github.com/anak10thn/ignsdk-qt"
arch=('x86_64' 'i686')
license=('BSD')
depends=('ignsdk')
options=('!strip' '!emptydirs')
md5sums=('SKIP')
_gourl=github.com/anak10thn/ignsdk-qt
install='arch-dev-tools.install'

package(){
cd ../../src/ignsdk-qt-1.1.2
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/ign-sdk/bin/
mkdir -p $pkgdir/usr/share/man/man1/
mkdir -p $pkgdir/etc/

cp -rf template $pkgdir/usr/share/ign-sdk/

cp -rf doc/ignsdk-app-builder.man.1.gz $pkgdir/usr/share/man/man1/
cp -rf doc/ignsdk-app-creator.man.1.gz $pkgdir/usr/share/man/man1/

cp -rf dist $pkgdir/etc/dist/
echo "arch" > $pkgdir/etc/ignsdk-dist


install -Dm 755 bin/ignsdk-app-creator $pkgdir/usr/bin/
install -Dm 755 bin/ignsdk-app-builder $pkgdir/usr/bin/

install -Dm 755 bin/ignsdk-arch-builder $pkgdir/usr/share/ign-sdk/bin/
install -Dm 755 bin/ignsdk-arch-creator $pkgdir/usr/share/ign-sdk/bin/
}
4 changes: 4 additions & 0 deletions platform/ARCH/arch-dev-tools/arch-dev-tools.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
post_install(){
man -a -u ignsdk-app-builder
man -a -u ignsdk-app-creator
}
3 changes: 3 additions & 0 deletions platform/ARCH/ignsdk.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
post_install(){
man -u -a ignsdk
}
5 changes: 3 additions & 2 deletions test/widget.ign/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<script>
ign.setDev(true);
//ign.WidgetSizeMax(300,450);
var sys = ign.sys()
$(function(){
$('#req').click(function(){
//init system module
Expand All @@ -21,7 +22,7 @@
})
</script>
</head>
<body style='background:transparent;background-color:rgba(0,0,0,0.5)'>
<body>
<h1>Widget</h1><hr>
<input class="btn btn-primary" type="submit" onclick="ign.showMessage('ibnu yahya')" value="Message Box">
<input class="btn btn-primary" type="submit" onclick="ign.quit()" value="Close">
Expand All @@ -30,7 +31,7 @@ <h1>Widget</h1><hr>
<input class="btn btn-primary" type="submit" onclick="ign.showMaximized()" value="Maximize window">
<input class="btn btn-primary" type="submit" onclick="ign.showMinimized()" value="Minimize window">
<br><br>
<input type='text' id='inputval' value='cat /etc/ign-release'>
<input type='text' id='inputval' value=''>
<input class="btn btn-primary" type="submit" id="req" value="cli Output">
<h1>Output</h1><hr>
<div id="res"></div>
Expand Down

0 comments on commit 4bff081

Please sign in to comment.