[arch-commits] Commit in python-pythondata-software-compiler_rt/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 16:20:20 UTC 2020


    Date: Monday, November 9, 2020 @ 16:20:20
  Author: felixonmars
Revision: 747477

archrelease: copy trunk to community-staging-any

Added:
  python-pythondata-software-compiler_rt/repos/community-staging-any/
  python-pythondata-software-compiler_rt/repos/community-staging-any/PKGBUILD
    (from rev 747473, python-pythondata-software-compiler_rt/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-pythondata-software-compiler_rt/repos/community-staging-any/PKGBUILD (from rev 747473, python-pythondata-software-compiler_rt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:20:20 UTC (rev 747477)
@@ -0,0 +1,29 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pythondata-software-compiler_rt
+_pyname=${_pkgname//-/_}
+pkgname=python-$_pkgname
+pkgver=2020.04
+pkgrel=2
+pkgdesc='Python module containing data files for compiler_rt software (for use with LiteX)'
+arch=('any')
+url='https://github.com/litex-hub/pythondata-software-compiler_rt'
+license=('MIT' 'custom')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('3e70d5e5941654588a353b866224b4e8b14324d4e771c2d43918ed4749e9c14d1e9229d6fa2f62fb7b58b2964f5d3f5d2f0fee6b14fd3862cfa211a3b93b89bb')
+
+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 $_pyname/data/LICENSE.TXT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list