pkgname=pbget
pkgver=2021.12
pkgrel=03
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=('D89FAAEB4CECAFD199A2F5E612C6F735F7A9A519')

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


