diff options
-rw-r--r-- | ~lukeshu-closure-compiler/java-asm/PKGBUILD | 46 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/java-jarjar/PKGBUILD | 39 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/java-jarjar/SRCBUILD | 42 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/protobuf-java/PKGBUILD | 34 | ||||
-rw-r--r-- | ~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch | 21 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-git/PKGBUILD (renamed from ~lukeshu/openni-git/PKGBUILD) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-git/openni.install (renamed from ~lukeshu/openni-git/openni.install) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD (renamed from ~lukeshu/openni-module-primesensor-git/PKGBUILD) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD (renamed from ~lukeshu/openni-module-sensorkinect-git/PKGBUILD) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install (renamed from ~lukeshu/openni-module-sensorkinect-git/sensorkinect.install) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-unstable-git/PKGBUILD (renamed from ~lukeshu/openni-unstable-git/PKGBUILD) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-unstable-git/openni.install (renamed from ~lukeshu/openni-unstable-git/openni.install) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-unstable/PKGBUILD (renamed from ~lukeshu/openni-unstable/PKGBUILD) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-unstable/openni-core.install (renamed from ~lukeshu/openni-unstable/openni-core.install) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni-unstable/openni-mono.install (renamed from ~lukeshu/openni-unstable/openni-mono.install) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni/PKGBUILD (renamed from ~lukeshu/openni/PKGBUILD) | 0 | ||||
-rw-r--r-- | ~lukeshu/openni-all/openni/openni.install (renamed from ~lukeshu/openni/openni.install) | 0 | ||||
-rw-r--r-- | ~lukeshu/thingutils-git/PKGBUILD | 4 |
18 files changed, 184 insertions, 2 deletions
diff --git a/~lukeshu-closure-compiler/java-asm/PKGBUILD b/~lukeshu-closure-compiler/java-asm/PKGBUILD new file mode 100644 index 000000000..b1d817441 --- /dev/null +++ b/~lukeshu-closure-compiler/java-asm/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +_pkgname=asm +pkgname=java-asm +pkgver=3.3.1 +pkgrel=1 +pkgdesc="An all purpose Java bytecode manipulation and analysis framework." +arch=('any') +url="http://asm.ow2.org/" +license=('custom:BSD3') +depends=('java-runtime') +source=("http://download.forge.objectweb.org/$_pkgname/$_pkgname-$pkgver.tar.gz") + +build() { + cd "$srcdir/$_pkgname-$pkgver" + + rm examples/jasmin/test/jasmin.jar + rm cobertura.ser # This is just precompiled for convenience + + echo 'paths.configured /lts' >> build.config + echo 'test.paths.configured /lts' >> build.config + ant dist +} + +# Tests have more dependencies, and I can't be bothered to package them. +#check() { +# cd "$srcdir/$_pkgname-$pkgver" +# ant test +#} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + cd output/dist + + install -d "$pkgdir/usr/share/doc/$pkgname" + cp -r doc/javadoc/user "$pkgdir/usr/share/doc/$pkgname/javadoc" + cp -r examples "$pkgdir/usr/share/doc/$pkgname/examples" + + install -d "$pkgdir/usr/share/java/$_pkgname" + cp -r lib/* "$pkgdir/usr/share/java/$_pkgname" +} + +md5sums=('433024df8176f09922646316e415631c') diff --git a/~lukeshu-closure-compiler/java-jarjar/PKGBUILD b/~lukeshu-closure-compiler/java-jarjar/PKGBUILD new file mode 100644 index 000000000..31f374427 --- /dev/null +++ b/~lukeshu-closure-compiler/java-jarjar/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +_pkgname=jarjar +pkgname=java-jarjar +pkgver=1.1 +pkgrel=1 +pkgdesc="A utility that makes it easy to repackage Java libraries and embed them into your own distribution." +arch=('any') +url="https://code.google.com/p/jarjar/" +license=('Apache2') +depends=('java-runtime') +makedepends=('apache-ant' 'java-asm' 'maven') +source=("http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz") + +build() { + cd "$srcdir/$pkgname" + + ln -s /usr/share/java/asm/asm-3.3.1.jar lib + ln -s /usr/share/java/asm/asm-commons-3.3.1.jar lib + ln -s /opt/maven/lib/maven-plugin-api-*.jar lib/maven-plugin-api.jar + + # Define the version + sed -i "s/snapshot/$pkgver/" build.xml + + # Fix a bug causing an incompatibility with newer versions of ant + sed -i 's/zipDir(null,/zipDir((java.io.File)null,/' \ + src/main/com/tonicsystems/jarjar/util/AntJarProcessor.java + + ant jar +} + +package() { + cd "$srcdir/$pkgname" + install -d "$pkgdir/usr/share/java/$_pkgname" + install -D "dist/$_pkgname-$pkgver.jar" "$pkgdir/usr/share/java/$_pkgname" + ln -s "$pkgname/$_pkgname-$pkgver.jar" "$pkgdir/usr/share/java/$_pkgname.jar" +} + +md5sums=('af46c24b90d009169b7f83ee1e8bbd9c') diff --git a/~lukeshu-closure-compiler/java-jarjar/SRCBUILD b/~lukeshu-closure-compiler/java-jarjar/SRCBUILD new file mode 100644 index 000000000..b716eeb51 --- /dev/null +++ b/~lukeshu-closure-compiler/java-jarjar/SRCBUILD @@ -0,0 +1,42 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +_pkgname=jarjar +pkgname=java-jarjar +pkgver=1.1 +pkgrel=1 +pkgdesc="A utility that makes it easy to repackage Java libraries and embed them into your own distribution." +arch=('any') +url="https://code.google.com/p/jarjar/" +license=('Apache2') +makedepends=('subversion' 'findutils') +options=('!strip' 'docs' '!zipman' 'emptydirs') + +_svntrunk="https://jarjar.googlecode.com/svn/tags/release-$pkgver/$_pkgname" +_svnver=131 + +build() { + cd "$srcdir" + msg "Connecting to SVN server...." + + if [[ -d "$pkgname/.svn" ]]; then + (cd "$pkgname" && svn up -r "$_svnver") + else + svn co "$_svntrunk" --config-dir ./ -r "$_svnver" "$pkgname" + fi + + msg "SVN checkout done or server timeout" + + msg "Removing .svn files..." + find . -name .svn -print0 | xargs -0 rm -rf + + msg "Removing precompiled binaries..." + cd "$srcdir/$pkgname" + rm -v src/test/*.class src/test/*.jar + rm -v lib/*.jar +} + +package() { + PKGEXT=${SRCEXT} + PKGDEST=${SRCDEST} + cp -a "${srcdir}/${pkgname}" "${pkgdir}/" +} diff --git a/~lukeshu-closure-compiler/protobuf-java/PKGBUILD b/~lukeshu-closure-compiler/protobuf-java/PKGBUILD new file mode 100644 index 000000000..473bf3f2f --- /dev/null +++ b/~lukeshu-closure-compiler/protobuf-java/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Igor R. Dejanovic igor.dejanovic@gmail.com +# Contributor: Igor R. Dejanovic igor.dejanovic@gmail.com + +pkgname=protobuf-java +_xpkgname=protobuf +pkgver=2.4.1 +pkgrel=1 +pkgdesc="Google's data interchange format utility (java API)." +url="http://code.google.com/p/protobuf/" +license=('custom:BSD') +arch=('any') +depends=("java-environment") +makedepends=('java-environment' 'maven' "${_xpkgname}>=${pkgver}") +source=(http://protobuf.googlecode.com/files/$_xpkgname-$pkgver.tar.bz2 protobuf-java.patch) +md5sums=('ed436802019c9e1f40cc750eaf78f318' + '01a3244c88fc5ddfee07c658c0bc7df4') + +build() { + + cd $srcdir/$_xpkgname-$pkgver + patch -p1 < ../protobuf-java.patch + + cd $srcdir/$_xpkgname-$pkgver/java + mvn package + +} + +package() { + install -Dm644 "$srcdir/$_xpkgname-$pkgver/java/target/$pkgname-$pkgver.jar" \ + "$pkgdir/usr/share/java/$pkgname/$pkgname-$pkgver.jar" + install -Dm644 "$srcdir/$_xpkgname-$pkgver/COPYING.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt" +} + diff --git a/~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch b/~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch new file mode 100644 index 000000000..1286223ed --- /dev/null +++ b/~lukeshu-closure-compiler/protobuf-java/protobuf-java.patch @@ -0,0 +1,21 @@ +diff -aur protobuf-2.4.1/java/pom.xml protobuf-2.4.1-patched/java/pom.xml +--- protobuf-2.4.1/java/pom.xml 2011-04-30 19:23:04.000000000 +0200 ++++ protobuf-2.4.1-patched/java/pom.xml 2011-05-09 17:58:09.000000000 +0200 +@@ -78,7 +78,7 @@ + <configuration> + <tasks> + <mkdir dir="target/generated-sources" /> +- <exec executable="../src/protoc"> ++ <exec executable="protoc"> + <arg value="--java_out=target/generated-sources" /> + <arg value="--proto_path=../src" /> + <arg value="../src/google/protobuf/descriptor.proto" /> +@@ -96,7 +96,7 @@ + <configuration> + <tasks> + <mkdir dir="target/generated-test-sources" /> +- <exec executable="../src/protoc"> ++ <exec executable="protoc"> + <arg value="--java_out=target/generated-test-sources" /> + <arg value="--proto_path=../src" /> + <arg value="--proto_path=src/test/java" /> diff --git a/~lukeshu/openni-git/PKGBUILD b/~lukeshu/openni-all/openni-git/PKGBUILD index 7ac6abb87..7ac6abb87 100644 --- a/~lukeshu/openni-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-git/PKGBUILD diff --git a/~lukeshu/openni-git/openni.install b/~lukeshu/openni-all/openni-git/openni.install index 8470f4512..8470f4512 100644 --- a/~lukeshu/openni-git/openni.install +++ b/~lukeshu/openni-all/openni-git/openni.install diff --git a/~lukeshu/openni-module-primesensor-git/PKGBUILD b/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD index 0ebfac2e5..0ebfac2e5 100644 --- a/~lukeshu/openni-module-primesensor-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-module-primesensor-git/PKGBUILD diff --git a/~lukeshu/openni-module-sensorkinect-git/PKGBUILD b/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD index 2a2abbdc5..2a2abbdc5 100644 --- a/~lukeshu/openni-module-sensorkinect-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-module-sensorkinect-git/PKGBUILD diff --git a/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install b/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install index d62d263d1..d62d263d1 100644 --- a/~lukeshu/openni-module-sensorkinect-git/sensorkinect.install +++ b/~lukeshu/openni-all/openni-module-sensorkinect-git/sensorkinect.install diff --git a/~lukeshu/openni-unstable-git/PKGBUILD b/~lukeshu/openni-all/openni-unstable-git/PKGBUILD index 07f276b02..07f276b02 100644 --- a/~lukeshu/openni-unstable-git/PKGBUILD +++ b/~lukeshu/openni-all/openni-unstable-git/PKGBUILD diff --git a/~lukeshu/openni-unstable-git/openni.install b/~lukeshu/openni-all/openni-unstable-git/openni.install index 8470f4512..8470f4512 100644 --- a/~lukeshu/openni-unstable-git/openni.install +++ b/~lukeshu/openni-all/openni-unstable-git/openni.install diff --git a/~lukeshu/openni-unstable/PKGBUILD b/~lukeshu/openni-all/openni-unstable/PKGBUILD index 19d1575a1..19d1575a1 100644 --- a/~lukeshu/openni-unstable/PKGBUILD +++ b/~lukeshu/openni-all/openni-unstable/PKGBUILD diff --git a/~lukeshu/openni-unstable/openni-core.install b/~lukeshu/openni-all/openni-unstable/openni-core.install index 8470f4512..8470f4512 100644 --- a/~lukeshu/openni-unstable/openni-core.install +++ b/~lukeshu/openni-all/openni-unstable/openni-core.install diff --git a/~lukeshu/openni-unstable/openni-mono.install b/~lukeshu/openni-all/openni-unstable/openni-mono.install index 72a6fb23d..72a6fb23d 100644 --- a/~lukeshu/openni-unstable/openni-mono.install +++ b/~lukeshu/openni-all/openni-unstable/openni-mono.install diff --git a/~lukeshu/openni/PKGBUILD b/~lukeshu/openni-all/openni/PKGBUILD index 2cdc2fd7d..2cdc2fd7d 100644 --- a/~lukeshu/openni/PKGBUILD +++ b/~lukeshu/openni-all/openni/PKGBUILD diff --git a/~lukeshu/openni/openni.install b/~lukeshu/openni-all/openni/openni.install index 8470f4512..8470f4512 100644 --- a/~lukeshu/openni/openni.install +++ b/~lukeshu/openni-all/openni/openni.install diff --git a/~lukeshu/thingutils-git/PKGBUILD b/~lukeshu/thingutils-git/PKGBUILD index 32504560a..d3d13925a 100644 --- a/~lukeshu/thingutils-git/PKGBUILD +++ b/~lukeshu/thingutils-git/PKGBUILD @@ -4,10 +4,10 @@ _pkgname=thingutils pkgname=$_pkgname-git provides=($_pkgname) conflicts=($_pkgname) -pkgver=20111231 +pkgver=20120117 pkgrel=1 pkgdesc="" -arch=('any') +arch=('i686' 'x86_64') url="https://gitorious.org/thingutils" license=('MIT') depends=( |