diff options
author | Daniel Nagy | 2015-06-08 18:55:41 +0200 |
---|---|---|
committer | Daniel Nagy | 2015-06-08 18:55:41 +0200 |
commit | eb7454990aa769df29bdf0dad43d5b5d01e8db53 (patch) | |
tree | 19617fe7b45dd3b8f95da01c9affd98f4fd1bcf7 | |
download | aur-eb7454990aa769df29bdf0dad43d5b5d01e8db53.tar.gz |
import to aur4
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dece1e09b110 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = eclipse-testng + pkgdesc = A testing framework inspired from JUnit and NUnit + pkgver = 6.8.5 + pkgrel = 1 + url = http://testng.org/ + arch = any + license = APACHE + depends = eclipse>=3.4 + noextract = artifacts.jar + noextract = content.jar + noextract = features.jar + noextract = plugins.jar + source = artifacts.jar::http://beust.com/eclipse-old/eclipse-6.8.5.20130517_2211/artifacts.jar + source = content.jar::http://beust.com/eclipse-old/eclipse-6.8.5.20130517_2211/content.jar + source = features.jar::http://beust.com/eclipse-old/eclipse-6.8.5.20130517_2211/features/org.testng.eclipse_6.8.5.20130517_2211.jar + source = plugins.jar::http://beust.com/eclipse-old/eclipse-6.8.5.20130517_2211/plugins/org.testng.eclipse_6.8.5.20130517_2211.jar + sha1sums = ca71c805778833145ec9350a4e18ac2b39ac4494 + sha1sums = 17c2f8110805bc7dc4d741643590c332d5b45c75 + sha1sums = 84474455723c830f221e473cd478865a23c1dc17 + sha1sums = 6d7fddc2a0c78250841acecbdfe373feecaae52d + +pkgname = eclipse-testng + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..32f10c15e520 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Daniel Nagy <danielnagy at gmx de> +# Contributor: hl037 <hl037 dot prog at gmail dot com> +# Contributor: d1t2 <dieterplex at gmail dot com> + +pkgname='eclipse-testng' +pkgver='6.8.5' +pkgdate='20130517_2211' +pkgrel='1' +pkgdesc='A testing framework inspired from JUnit and NUnit' +arch=('any') +url='http://testng.org/' +license=('APACHE') +depends=('eclipse>=3.4') +#_url="https://github.com/cbeust/testng-eclipse/raw/master/testng-eclipse-update-site" +_url="http://beust.com/eclipse-old/eclipse-$pkgver.$pkgdate" +_path="org.testng.eclipse_$pkgver.$pkgdate" +source=( + artifacts.jar::"$_url/artifacts.jar" + content.jar::"$_url/content.jar" + features.jar::"$_url/features/$_path.jar" + plugins.jar::"$_url/plugins/$_path.jar") +#noextract=(${source[@]##*/}) +noextract=(artifacts.jar content.jar features.jar plugins.jar) + +sha1sums=('ca71c805778833145ec9350a4e18ac2b39ac4494' + '17c2f8110805bc7dc4d741643590c332d5b45c75' + '84474455723c830f221e473cd478865a23c1dc17' + '6d7fddc2a0c78250841acecbdfe373feecaae52d') + +package() { + _dest=$pkgdir/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse + + install -dm755 $_dest + install -Dm644 artifacts.jar $_dest + install -Dm644 content.jar $_dest + + for jar in 'features' 'plugins'; do + install -Dm644 $srcdir/$jar.jar $_dest/$jar/$_path.jar + done +} + |