initial commit
This commit is contained in:
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
pkgbase = uftp
|
||||||
|
pkgdesc = UFTP is an encrypted multicast file transfer program, designed to securely, reliably, and efficiently transfer files to multiple receivers simultaneously.
|
||||||
|
pkgver = 4.9.2
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://uftp-multicast.sourceforge.net/
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL3
|
||||||
|
makedepends = gcc
|
||||||
|
makedepends = openssl
|
||||||
|
source = http://downloads.sourceforge.net/project/uftp-multicast/source-tar/uftp-4.9.2.tar.gz
|
||||||
|
sha512sums = 9a95e6a4c8b58a157353e43cfd4ca3dcccfced700e02b7d9d119a09f9e652474d5ffadd04a3dc7b939b94c7d58fbe186e11e581813b5417934988bfa021f0a62
|
||||||
|
|
||||||
|
pkgname = uftp
|
||||||
|
|
||||||
25
PKGBUILD
Normal file
25
PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
|
||||||
|
|
||||||
|
pkgname=uftp
|
||||||
|
pkgver=4.9.2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="UFTP is an encrypted multicast file transfer program, designed to securely, reliably, and efficiently transfer files to multiple receivers simultaneously."
|
||||||
|
arch=(i686 x86_64)
|
||||||
|
url="http://uftp-multicast.sourceforge.net/"
|
||||||
|
license=('GPL3')
|
||||||
|
makedepends=('gcc' 'openssl')
|
||||||
|
source=("http://downloads.sourceforge.net/project/uftp-multicast/source-tar/$pkgname-$pkgver.tar.gz")
|
||||||
|
sha512sums=('9a95e6a4c8b58a157353e43cfd4ca3dcccfced700e02b7d9d119a09f9e652474d5ffadd04a3dc7b939b94c7d58fbe186e11e581813b5417934988bfa021f0a62')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
whirlpoolsum=('92182508fd707e68838af3904355f7eb0edc777a8029f756c485c407e447a8aac3d0611fe64b68ca8d061f1dc5040a8334fa219c298416ab25e5daecdd9c8e25')
|
||||||
|
[[ "$(openssl dgst -r -whirlpool $pkgname-$pkgver.tar.gz | awk '{print $1}')" = ${whirlpoolsum} ]] && echo "Whirlpool checksum passed." || { echo "Whirlpool checksum failed!!" ; exit 1; } # This is an added security layer. If SHA512 for some unlikely reason fails, whirlpool will check and abort if it too fails to match.
|
||||||
|
cd "$srcdir/$pkgname-$pkgver/"
|
||||||
|
make all || return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${pkgname}-${pkgver}"
|
||||||
|
make DESTDIR="$pkgdir/" install
|
||||||
|
mv $pkgdir/bin $pkgdir/usr/bin/
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user