summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e688c815e3fa95c028f4ff6d79fe991e62f9c5eb (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
pkgbase='python-vishop'
pkgname=('python-vishop')
_module='vishop'
pkgver='0.0.2'
pkgrel=1
pkgdesc="Vishop is command line VIM script publisher client."
url="https://github.com/Xvezda/vishop"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('2c3d1cb655d47871af652473d6ebc17cac196f6ecd1f5013585920cd63f67d9a')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}