Skip to content

Commit

Permalink
upgpkg: urlcrazy 0.7.3 (#4296)
Browse files Browse the repository at this point in the history
  • Loading branch information
djustice authored Oct 14, 2024
1 parent e07c701 commit bcbea98
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions packages/urlcrazy/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,25 @@
# See COPYING for license details.

pkgname=urlcrazy
pkgver=0.5
pkgrel=14
pkgver=0.7.3
pkgrel=1
groups=('blackarch' 'blackarch-webapp')
pkgdesc='Generate and test domain typos and variations to detect and perform typo squatting, URL hijacking, phishing, and corporate espionage.'
arch=('any')
url='http://www.morningstarsecurity.com/research/urlcrazy'
license=('custom')
depends=('ruby')
source=("http://www.morningstarsecurity.com/downloads/$pkgname-$pkgver.tar.gz")
sha512sums=('157ad3ce675fff67faba61be8332985a9e90bb3308cf8629f91aff5d5940af6bbd71c44f6719d08fc01216c7ea7b8b1f57891d689dcaaf523ad240865776e1f0')
source=(git+https://github.com/urbanadventurer/urlcrazy.git)
sha256sums=('SKIP')

package() {
cd "$pkgname-$pkgver"

install -dm 755 "$pkgdir/usr/bin"
install -dm 755 "$pkgdir/usr/share/$pkgname"

install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README CHANGELOG

rm README CHANGELOG
package() {
install -d "${pkgdir}/usr/bin"
ln -s "/usr/share/urlcrazy/urlcrazy" "${pkgdir}/usr/bin/urlcrazy"

cp -a * "$pkgdir/usr/share/$pkgname/"
install -d "${pkgdir}/usr/share/urlcrazy"
cp -a "${srcdir}/urlcrazy/." "${pkgdir}/usr/share/urlcrazy"

ln -s "/usr/share/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -d "${pkgdir}/usr/share/doc/urlcrazy"
ln -s "/usr/share/urlcrazy/README" "${pkgdir}/usr/share/doc/urlcrazy"
}

0 comments on commit bcbea98

Please sign in to comment.