makedeb


pirate-get 0.4.2-3


A command line interface for the Pirate Bay

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for pirate-get.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Marcin (CTRL) Wieczorek (AUR) <marcin@marcin.co>
# Contributor: Viktor Stanchev (AUR) <me aatt viktorstanchev doot com>
# Contributor: Wilson Birney (AUR) <wpbirney@gmail.com>

pkgname=pirate-get
pkgver=0.4.2
pkgrel=3
pkgdesc='A command line interface for the Pirate Bay'
arch=('all')
url='https://github.com/vikstrous/pirate-get/'
license=('AGPL')
depends=('python3-veryprettytable' 'python3-bs4' 'python3-termcolor' 'python3-colorama' 'python3-pyperclip')
makedepends=('python3-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vikstrous/pirate-get/archive/${pkgver}.tar.gz")
sha256sums=('6ea9fac2505ea02bf4914c83975f1a9f341e1a4ed16282a86250ceddfbd475ef')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	python3 setup.py build
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	python3 setup.py install --root "${pkgdir}" --install-layout deb
}