summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60c1f4fdc685f794c7d520f1bd8bac2cc71c854c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Duy Truong <jimreynold2nd@yahoo.com>

pkgname=animecheck-git
pkgver=r98.e87a977
pkgrel=1
pkgdesc="Commandline CRC32, MD5 and eD2k-based hashing script also capable of reading and creating SFV and MD5 checksum files and generating eD2k links."
arch=('any')
url="https://github.com/OmegaPhil/animecheck"
license=('GPL')
makedepends=('git')
depends=('python')
source=('git+https://github.com/OmegaPhil/animecheck.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/animecheck"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
   cd "$srcdir/animecheck"
   mkdir -p $pkgdir/usr/bin
   install -m 0755 animecheck.py $pkgdir/usr/bin/
}