mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
Add 'hashclash-git/' from commit '84675c66cdc3248336b51fa13765ba3cbcd048e2'
git-subtree-dir: hashclash-git git-subtree-mainline:39e8046f5egit-subtree-split:84675c66cd
This commit is contained in:
17
hashclash-git/.SRCINFO
Normal file
17
hashclash-git/.SRCINFO
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
pkgbase = hashclash-git
|
||||||
|
pkgdesc = Project HashClash - MD5 & SHA-1 cryptanalysis
|
||||||
|
pkgver = r46.d833657
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/cr-marcstevens/hashclash
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
|
makedepends = boost
|
||||||
|
depends = boost-libs
|
||||||
|
provides = hashclash
|
||||||
|
conflicts = hashclash
|
||||||
|
source = hashclash::git+https://github.com/cr-marcstevens/hashclash
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = hashclash-git
|
||||||
|
|
||||||
36
hashclash-git/PKGBUILD
Normal file
36
hashclash-git/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
pkgname=hashclash-git
|
||||||
|
pkgver=r46.d833657
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Project HashClash - MD5 & SHA-1 cryptanalysis "
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://github.com/cr-marcstevens/hashclash"
|
||||||
|
license=('MIT')
|
||||||
|
depends=(boost-libs)
|
||||||
|
makedepends=('git' 'boost')
|
||||||
|
provides=("${pkgname%-git}")
|
||||||
|
conflicts=("${pkgname%-git}")
|
||||||
|
source=("${pkgname%-git}::git+https://github.com/cr-marcstevens/hashclash")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
|
||||||
|
# Git, no tags available
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
autoreconf --install
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/${pkgname%-git}"
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
install -D "$srcdir/${pkgname%-git}/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
install -d "$pkgdir/usr/share/${pkgname%-git}/scripts"
|
||||||
|
install -Dt "$pkgdir/usr/share/${pkgname%-git}/scripts" -m755 scripts/*
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user