summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c5141ad8683b88d03fd954bafcd0e7e7bd4b3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: jakob <grandchild@gmx.net>

_pkgname=pyheif
pkgname=python-${_pkgname}
pkgver=0.8.0
pkgrel=1
pkgdesc="Python interface to libheif using CFFI (reading only)"
arch=(x86_64 i686 aarch64)
url="https://github.com/david-poirier-csn/pyheif"
license=('Apache')
depends=(python libheif)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('e9b4c11ebad482fc25a0804ce295b44b660cbf7829a228f56b071f325f9e0de4')

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