added initial set of pkgbuilds

This commit is contained in:
Sven Schneider 2012-04-06 17:09:12 +02:00
commit b83d9f60a9
2 changed files with 56 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
pkgbase = eclipse-rtmtools
pkgdesc = OpenRTM-aist tools to manipulate RT components in real-time using a graphical interface
pkgver = 1.0.0
pkgrel = 1
url = http://www.openrtm.org
arch = i686
arch = x86_64
license = GPL
depends = eclipse-emf
depends = eclipse-gef
optdepends = openrtm-aist: Compilation of C++ components
optdepends = openrtm-aist-java: Compilation of Java components
optdepends = openrtm-aist-python: Compilation of Python components
source = http://www.openrtm.org/pub/OpenRTM-aist/tools/1.0.0/rtmtools100release_en.zip
md5sums = e1051282f79dd8a2618ad993e92063ce
pkgname = eclipse-rtmtools

38
PKGBUILD Normal file
View file

@ -0,0 +1,38 @@
# Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
pkgname=eclipse-rtmtools
pkgver=1.0.0
pkgrel=1
pkgdesc="OpenRTM-aist tools to manipulate RT components in real-time using a graphical interface"
arch=('i686' 'x86_64')
url="http://www.openrtm.org"
license=('GPL')
depends=('eclipse-emf' 'eclipse-gef')
optdepends=('openrtm-aist: Compilation of C++ components'
'openrtm-aist-java: Compilation of Java components'
'openrtm-aist-python: Compilation of Python components')
source=(http://www.openrtm.org/pub/OpenRTM-aist/tools/1.0.0/rtmtools100release_en.zip)
md5sums=('e1051282f79dd8a2618ad993e92063ce')
build() {
_dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
cd ${srcdir}
# Features
find features -type f | while read _feature ; do
if [[ ${_feature} =~ (.*\.jar$) ]] ; then
install -dm755 ${_dest}/${_feature%*.jar}
cd ${_dest}/${_feature/.jar}
jar xf ${srcdir}/${_feature} || return 1
else
install -Dm644 ${_feature} ${_dest}/${_feature}
fi
done
# Plugins
find plugins -type f | while read _plugin ; do
install -Dm644 ${_plugin} ${_dest}/${_plugin}
done
}