# Maintainer: begin-theadventure _pkgname=yadp pkgname=$_pkgname-git pkgver=r37.fdeb07b pkgrel=1 pkgdesc='Yet Another xDelta Patcher (latest commit)' arch=('any') url='https://github.com/Nhoya/YADP' license=('GPL3') depends=('yad' 'xdelta3') makedepends=('git') conflicts=($_pkgname) provides=($_pkgname) source=("git+$url.git") sha256sums=('SKIP') pkgver() { cd YADP printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { install -Dm755 YADP/YADP "$pkgdir/usr/bin/$_pkgname" }