added initial set of pkgbuilds

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

19
.SRCINFO Normal file
View file

@ -0,0 +1,19 @@
pkgbase = openrtm-aist-java
pkgdesc = Java bindings for OpenRTM-aist
pkgver = 1.0.0
pkgrel = 1
url = http://www.openrtm.org
arch = i686
arch = x86_64
license = GPL
makedepends = apache-ant
depends = java-environment
source = http://www.openrtm.org/pub/OpenRTM-aist/java/1.0.0/OpenRTM-aist-Java-1.0.0-RELEASE.tar.gz
source = http://www.openrtm.org/pub/OpenRTM-aist/java/1.0.0/OpenRTM-aist-Java-1.0.0-jar.zip
source = openrtm-aist.profile
md5sums = 5a0fd25eb9ce87d72f0b377b3d24a43a
md5sums = b1c538b3baa390a895e90e033e6d0d87
md5sums = fca4ed195d35b56ac4172a1027f7eaf0
pkgname = openrtm-aist-java

40
PKGBUILD Normal file
View file

@ -0,0 +1,40 @@
# Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
pkgname=openrtm-aist-java
pkgver=1.0.0
pkgrel=1
pkgdesc="Java bindings for OpenRTM-aist"
arch=('i686' 'x86_64')
url="http://www.openrtm.org"
license=('GPL')
depends=('java-environment')
makedepends=('apache-ant')
source=(http://www.openrtm.org/pub/OpenRTM-aist/java/1.0.0/OpenRTM-aist-Java-${pkgver}-RELEASE.tar.gz
http://www.openrtm.org/pub/OpenRTM-aist/java/1.0.0/OpenRTM-aist-Java-${pkgver}-jar.zip
openrtm-aist.profile)
md5sums=('5a0fd25eb9ce87d72f0b377b3d24a43a'
'b1c538b3baa390a895e90e033e6d0d87'
'fca4ed195d35b56ac4172a1027f7eaf0')
build() {
cd ${srcdir}/jp.go.aist.rtm.RTC
ant buildAllLinux
}
package() {
cd ${srcdir}/jp.go.aist.rtm.RTC
# install profile.d script
install -Dm755 ${srcdir}/openrtm-aist.profile ${pkgdir}/etc/profile.d/openrtm-aist.sh
# install jar files
install -Dd -m755 ${pkgdir}/usr/share/java/openrtm-aist-java
cp -r installer/resources/Source/* ${pkgdir}/usr/share/java/openrtm-aist-java
cp lib/commons-cli-1.1.jar ${pkgdir}/usr/share/java/openrtm-aist-java/jar
# install shell scripts to execute examples
cd ${srcdir}/OpenRTM-aist/1.0/examples
cp *.sh ${pkgdir}/usr/share/java/openrtm-aist-java/examples
}

1
openrtm-aist.profile Normal file
View file

@ -0,0 +1 @@
export RTM_JAVA_ROOT=/usr/share/java/openrtm-aist-java