summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0d48f051339612a6a5fe0af44b2b38509c15070 (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
25
26
# Maintainer: Mateen Ulhaq <mulhaq2005+aur at gmail dot com>
# Original contributor: Jerry Lin <jerry73204 at gmail dot com>

pkgname='python-fvcore'
pkgver=0.1.5.post20221221
pkgrel=1
pkgdesc="Collection of common code that's shared among different research projects in FAIR computer vision team."
arch=('any')
url="https://github.com/facebookresearch/fvcore"
license=('Apache')
makedepends=('python-setuptools')
depends=('python')
source=("https://files.pythonhosted.org/packages/a5/93/d056a9c4efc6c79ba7b5159cc66bb436db93d2cc46dca18ed65c59cc8e4e/fvcore-${pkgver}.tar.gz")
sha256sums=('f2fb0bb90572ae651c11c78e20493ed19b2240550a7e4bbb2d6de87bdd037860')

_dirname="fvcore-${pkgver}"

build() {
  cd "${srcdir}/${_dirname}"
  python setup.py build
}

package() {
  cd "${srcdir}/${_dirname}"
  python setup.py install --root="$pkgdir" --optimize=1
}