summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6f241f3c07a2dcfb8697a445f6ff8a071d4b998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: piernov <piernov@piernov.org>

pkgname=python-efficientnet-pytorch
pkgver=1.0
pkgrel=1
pkgdesc="PyTorch implementation of EfficientNet"
arch=('any')
url="https://github.com/lukemelas/EfficientNet-PyTorch"
license=('APACHE')
depends=('python-pytorch')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools-scm')
source=("$pkgname-$pkgver.tar.gz::https://github.com/lukemelas/EfficientNet-PyTorch/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('01789984000ff1de132094cadf85fb2973f474aab61715cc8acab6918d59bd80')

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

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