Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : ipscan | name : ipscan | ||||
| version : 3.7.0 | version : 3.7.2 | ||||
| release : 6 | release : 7 | ||||
| source : | source : | ||||
| - https://github.com/angryziber/ipscan/archive/3.7.0.tar.gz : abde3211db69ea714651cf808a208923712c99ddc78dbe930bb10ea29d998032 | - https://github.com/angryziber/ipscan/archive/3.7.2.tar.gz : 550799948435877ff279a18b6e15dba4f6f69185eff6ce80798faf0a520ffa90 | ||||
| license : GPL-2.0-or-later | license : GPL-2.0-or-later | ||||
| homepage : https://angryip.org/ | homepage : https://angryip.org/ | ||||
| component : network.util | component : network.util | ||||
| summary : Angry IP Scanner - Fast network scanner | summary : Angry IP Scanner - Fast network scanner | ||||
| description: | | description: | | ||||
| ipscan scans the network for reachable hosts and more. | ipscan scans the network for reachable hosts and more. | ||||
| networking : yes | networking : yes | ||||
| builddeps : | builddeps : | ||||
| - gradle | - gradle | ||||
| rundeps : | rundeps : | ||||
| - openjdk-8 | - openjdk-11 | ||||
| environment: | | |||||
| export GRADLE_USER_HOME=$workdir/.gradle | |||||
| setup : | | setup : | | ||||
| # patch build.gradle file so we skip building .deb and .rpm packages, we only need .jar | # This patch does the following: | ||||
| # also skip minimizing jar because it is failing for some reason | # - Uses a Gradle property for version detection instead of Git | ||||
| %patch -p1 < $pkgfiles/0001-disable-deb-rpm-minimize.patch | # - Disables building of deb and rpm packages | ||||
| # - Disables minimization to avoid build failure | |||||
| %patch -p1 < $pkgfiles/fix-build-gradle.patch | |||||
| build : | | build : | | ||||
| gradle linux64 | export GRADLE_USER_HOME=$workdir/.gradle | ||||
| gradle --no-daemon -PipscanVersion=%version% linux64 | |||||
| install : | | install : | | ||||
| install -Dm00755 $pkgfiles/ipscan -t $installdir/usr/bin | install -Dm00755 $pkgfiles/ipscan -t $installdir/usr/bin | ||||
| install -Dm00644 $pkgfiles/ipscan.desktop -t $installdir/usr/share/applications | install -Dm00644 $pkgfiles/ipscan.desktop -t $installdir/usr/share/applications | ||||
| install -Dm00755 $workdir/build/libs/ipscan-%version%-linux64-%version%.jar $installdir/usr/share/ipscan/ipscan.jar | install -Dm00755 $workdir/build/libs/ipscan-%version%-linux64-%version%.jar $installdir/usr/share/ipscan/ipscan.jar | ||||
| install -Dm00644 $workdir/build/resources/main/images/icon256.png $installdir/usr/share/pixmaps/ipscan.png | install -Dm00644 $workdir/build/resources/main/images/icon256.png $installdir/usr/share/pixmaps/ipscan.png | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.