upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-pyvcd / trunk / PKGBUILD
blob89a2af32014751abe0dc3253cda4a429a4cda823
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
3 _pkgname=pyvcd
4 pkgname=python-$_pkgname
5 pkgver=0.3.0
6 pkgrel=3
7 pkgdesc='Python package for writing Value Change Dump (VCD) files'
8 arch=('any')
9 url='https://github.com/SanDisk-Open-Source/pyvcd'
10 license=('MIT')
11 makedepends=('python-setuptools-scm')
12 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
13 sha512sums=('e6b1fc178a848fa9c8efed5184d09ab0cdf6d5d61ed717aecdbdec1998a0f15a1bcabd92a4191a006a4ee2dc0d4f62e10c82f3561eb3979da4e3a5b728998a6b')
15 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
17 build() {
18   cd $_pkgname-$pkgver
20   python setup.py build
23 package() {
24   cd $_pkgname-$pkgver
26   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
28   install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
31 # vim:set ts=2 sw=2 et: