diff options
author | meZee | 2015-06-03 23:34:24 -0500 |
---|---|---|
committer | meZee | 2015-06-03 23:34:24 -0500 |
commit | 300f0fcf71a33c01fbbc58281312552feee9eff1 (patch) | |
tree | f5940a104e531a4651c919fdc96c73fb5b21ca08 | |
download | aur-300f0fcf71a33c01fbbc58281312552feee9eff1.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | loic.desktop | 9 | ||||
-rw-r--r-- | loic.install | 7 | ||||
-rw-r--r-- | loic.png | bin | 0 -> 2036 bytes |
5 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e1035e0bcd15 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = loic + pkgdesc = An open source network stress tool for Windows. Based on Praetox's project at https://sourceforge.net/projects/loic/ and written in C#. + pkgver = 1.1.1.25 + pkgrel = 4 + url = https://github.com/NewEraCracker/LOIC + arch = any + license = GPL + makedepends = monodevelop + depends = mono + source = https://github.com/NewEraCracker/LOIC/archive/1.1.1.25.tar.gz + source = loic.desktop + source = loic.png + sha512sums = d1b8109330f917ab93f20787f697f850db54f1aadffa8c53eeafabf3981136b1185b4cc5c2c5aac6291e8b0fc126be7f7864f3debd77b0cfb0ed9a4d7bb0d91e + sha512sums = 26392bbde05dd7828d5485b11f12cd323daa563357e36b0e675e8dbf044ecbf9899867c481a370c8c8cf8a22fb612e80345c69b330ec9ee64274ba4edcaafe35 + sha512sums = 875c34b9c83517ff7b869cfd1e94c9501c0541849d1249ec2d1589e50d8207ad2e01587f1333433439331d64470cf55c561fdb08337bccac3aa2d72f580a8df6 + +pkgname = loic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5c0c00404bec --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Author: NewEraCracker +# Maintainer: William Grieshaber <me@zee.li> +# Contributor: Xi0N <grayfox.i0n@gmail.com> + +pkgname=loic +pkgver=1.1.1.25 +pkgrel=4 +pkgdesc="An open source network stress tool for Windows. Based on Praetox's project at https://sourceforge.net/projects/loic/ and written in C#." +arch=('any') +url="https://github.com/NewEraCracker/LOIC" +depends=('mono') +makedepends=('monodevelop') +license=('GPL') +source=("https://github.com/NewEraCracker/LOIC/archive/1.1.1.25.tar.gz" + "loic.desktop" "loic.png") +sha512sums=('d1b8109330f917ab93f20787f697f850db54f1aadffa8c53eeafabf3981136b1185b4cc5c2c5aac6291e8b0fc126be7f7864f3debd77b0cfb0ed9a4d7bb0d91e' + '26392bbde05dd7828d5485b11f12cd323daa563357e36b0e675e8dbf044ecbf9899867c481a370c8c8cf8a22fb612e80345c69b330ec9ee64274ba4edcaafe35' + '875c34b9c83517ff7b869cfd1e94c9501c0541849d1249ec2d1589e50d8207ad2e01587f1333433439331d64470cf55c561fdb08337bccac3aa2d72f580a8df6') +build() { + cd NewEraCracker-LOIC-3a89b36 + mdtool build +} +package() { + + install -dm755 ${pkgdir}/opt/${pkgname} + install -Dm755 loic.desktop ${pkgdir}/usr/share/applications/loic.desktop + install -Dm755 ./NewEraCracker-LOIC-3a89b36/bin/Debug/* ${pkgdir}/opt/${pkgname}/ + install -Dm644 loic.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png + +} diff --git a/loic.desktop b/loic.desktop new file mode 100644 index 000000000000..e93a81ee5874 --- /dev/null +++ b/loic.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=LOIC +Encoding=UTF-8 +Version=1.1.1.25 +Type=Application +Terminal=false +Icon=loic.png +Exec=mono /opt/loic/LOIC.exe +Categories=Application;Network diff --git a/loic.install b/loic.install new file mode 100644 index 000000000000..03934684106c --- /dev/null +++ b/loic.install @@ -0,0 +1,7 @@ +post_install() { + update-desktop-database -q +} + +post_remove() { + [ -d /opt/loic ] && rm -rf /opt/loic || return 0 +} diff --git a/loic.png b/loic.png Binary files differnew file mode 100644 index 000000000000..338e75e4f2f3 --- /dev/null +++ b/loic.png |