You are not logged in.
Pages: 1
Here is a PKGBUILD for cksfv. For people like me who needed a utility to create crc checksums.
pkgname=cksfv
pkgver=1.3
pkgrel=1
pkgdesc="Check SFV (Simple File Verification) program for Linux. Checks and creates .sfv files (crc32)"
url="http://www.fodder.org/cksfv"
depends=('glibc')
source=(http://www.fodder.org/cksfv/$pkgname-$pkgver.tar.gz)
md5sums=('e00cf6a80a566539eb6f3432f2282c38')
build() {
cd $startdir/src/$pkgname-$pkgver/src
make || return 1
mkdir -p $startdir/pkg/usr/bin/
install -c -m 0755 cksfv $startdir/pkg/usr/bin/
}
enjoy!
edited to clean up a bit (followed dp's suggestion and copied mak)
Offline
instead of
mkdir ../../../pkg/usr/
mkdir ../../../pkg/usr/bin/
it is better to use something like this:
mkdir -p $startdir/pkg/usr/bin
what is sfv? i never heard of it - is it better than sha1 or md5?
The impossible missions are the only ones which succeed.
Offline
@dp: http://en.wikipedia.org/wiki/Sfv *sorry*
i had _some sort_ of description here, but this is much more accurate[?].
- - - - -
btw. i made a similar pkg for cfv, which is a bit more powerful.
pkgname=cfv
pkgver=1.17
pkgrel=1
pkgdesc="Verify file consistency[sfv,csv,crc,md5,md5sum,torrent,par,par2 files]"
depends=('python')
url="http://cfv.sourceforge.net/"
source=(http://cesnet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('e8b627784acb613b4f49445973b3594d')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/usr/{man/man1,bin}
install -c -m 0644 cfv.1 $startdir/pkg/usr/man/man1/cfv.1
install -c -m 0755 cfv $startdir/pkg/usr/bin/cfv
}
mak.
$ wget -c -r -l inf -i what_the_hel.l
Offline
mak, i hadn't seemed to find cfv anywhere in my searches, and it appears to be quite a bit more useful, and it includes a manpage.
Offline
thx for the link
The impossible missions are the only ones which succeed.
Offline
sfv is popular :] thx for it.
Gnome - The weakest link!
Linux, *not* GNU/Linux!
Offline
Pages: 1