[arch-commits] Commit in python-litevideo/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Apr 28 15:05:05 UTC 2020
Date: Tuesday, April 28, 2020 @ 15:05:05
Author: ffy00
Revision: 622024
archrelease: copy trunk to community-any
Added:
python-litevideo/repos/community-any/
python-litevideo/repos/community-any/PKGBUILD
(from rev 622023, python-litevideo/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-litevideo/repos/community-any/PKGBUILD (from rev 622023, python-litevideo/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-04-28 15:05:05 UTC (rev 622024)
@@ -0,0 +1,29 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litevideo
+pkgname=python-$_pkgname
+pkgver=2020.04
+pkgrel=1
+pkgdesc='Small footprint and configurable video cores'
+arch=('any')
+url="https://github.com/enjoy-digital/$_pkgname"
+license=('BSD')
+depends=('python-migen' 'python-litex')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('b50719b6a0e1d24db9b6a7802de012ea423735793dd1699493b1ae82831fe9310e2011c3e505e437340410ab2a3f5d04d165bf36f604c6f1931ee27cad369fcc')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list