1 # Contributor: Gilles Bedel <you.re.a.bot_gillou.ray@free.fr>
5 pkgdesc="Anime CRC32 checker"
7 url="http://agafix.org/anime-crc32-checksum-in-linux-v20/"
12 md5sums=('e58de4f9dfbd0a26740e65150f16e0ce')
14 _gitroot="https://github.com/taoufix/tools.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
34 patch -p0 < ../bugfix.patch
35 install -D animecheck "$pkgdir/usr/bin/animecheck"