summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7a7a85ed6d9fae26196c8886ec668211ad12575 (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
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix

pkgname=python-pydvdid
_module=pydvdid
pkgver=1.1
pkgrel=2
pkgdesc="A pure Python implementation of the Windows API IDvdInfo2::GetDiscID method, as used by Windows Media Center to compute a 'practically unique' 64-bit CRC for metadata retrieval."
url="https://github.com/sjwood/pydvdid"
depends=(python)
makedepends=(python-setuptools)
license=(Apache)
arch=(any)
source=("https://files.pythonhosted.org/packages/source/p/pydvdid/pydvdid-${pkgver}.tar.gz")
sha256sums=('a3494f2bdab325de1e1f3441af134f8c3c287c0aa3a54d4acbfa857900e9d8d9')

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

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