pkgname=pbget
pkgver=2021.12
pkgrel=01
pkgdesc='Retrieve PKGBUILDs and local source files from Git, ABS and the AUR for makepkg.'
arch=(any)
url="https://xyne.dev/projects/pbget"
depends=(git pm2ml python3 python3-aur python3-xcgf python3-xcpf)
source=(
  $url/src/$pkgname-$pkgver.tar.xz
  $url/src/$pkgname-$pkgver.tar.xz.sig
)

package ()
{
  cd "$srcdir/$pkgname-$pkgver"
  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}

license=(GPL)

validpgpkeys=('EC3CBE7F607D11E663149E811D1F0DC78F173680') # xyne.dev

sha256sums=(45a63dd2188ab76a9f5a6160a2f25b7e1b1f780eb4208c17674c1568268fc8b8 # pbget-2021.12.tar.xz
	8453cfd07dce7a337194b5e4dda3396f08331c04292e5998ad6769689d37d2a3) # pbget-2021.12.tar.xz.sig
