public
Last active

My AUR PKGBUILDs

  • Download Gist
jstestdriver
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# Maintainer: Leo von Klenze <aur@leo.von-klenze.de>
 
pkgname=jstestdriver
pkgver=1.3.3d
pkgrel=0
pkgdesc="The goal of JsTestDriver is to build a JavaScript test runner."
arch=('any')
url="http://code.google.com/p/js-test-driver/"
depends=('java-runtime')
license=('Apache License 2.0')
 
source=("http://js-test-driver.googlecode.com/files/JsTestDriver-$pkgver.jar")
noextract=("JsTestDriver-$pkgver.jar")
sha1sums=('2998fb56170148bba5134d58ff8eb1f2ae8c9a12')
 
build() {
install_dir=$pkgdir/opt/$pkgname
mkdir -p $install_dir
mkdir -p $pkgdir/usr/bin
cp $srcdir/JsTestDriver-$pkgver.jar $install_dir
echo -e "#!/bin/sh\n\njava -jar /opt/$pkgname/JsTestDriver-$pkgver.jar \$*\n" > $install_dir/$pkgname
chmod 755 $install_dir/$pkgname
ln -s /opt/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
}
weinre
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# Maintainer: Anshuman Bhaduri <>
 
pkgname=weinre
pkgver=1.6.1
pkgrel=0
pkgdesc="weinre is a remote debugger for web pages."
arch=('any')
url="http://callback.github.com/callback-weinre/"
depends=('java-runtime')
license=('unknown')
 
source=("https://github.com/downloads/callback/callback-weinre/$pkgname-jar-$pkgver.zip")
md5sums=('8bbe8522026e19a51e01ee508491df9b')
 
build() {
install_dir=$pkgdir/opt/$pkgname
mkdir -p $install_dir
mkdir -p $pkgdir/usr/bin
cp -r $srcdir/$pkgname-jar/* $install_dir
echo -e "#!/bin/sh\n\njava -jar /opt/$pkgname/$pkgname.jar \$*\n" > $install_dir/$pkgname
chmod 755 $install_dir/$pkgname
ln -s /opt/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.