diff options
author | Cayetano Santos | 2020-03-21 12:23:03 +0100 |
---|---|---|
committer | Cayetano Santos | 2020-03-21 12:23:03 +0100 |
commit | d427a609b9f28a73edb864ecf6d56c583bed3ee9 (patch) | |
tree | 4ef9b62fd0a9666616db62b1438d7ef34ac251dd | |
parent | e170ecfc62d37330d1639eeabab187339897ab0d (diff) | |
download | aur-d427a609b9f28a73edb864ecf6d56c583bed3ee9.tar.gz |
comply with independent repo python-cocotb
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 11 insertions, 9 deletions
@@ -15,6 +15,7 @@ pkgbase = python-cocotb-git conflicts = python-cocotb options = !emptydirs source = git+https://github.com/cocotb/cocotb - sha256sums = SKIP + md5sums = SKIP pkgname = python-cocotb-git + @@ -6,9 +6,10 @@ pkgdesc="Coroutine based cosimulation library for writing VHDL and Verilog testb arch=('any') url="https://github.com/cocotb/cocotb" license=('BSD') -conflicts=('cocotb') -provides=('cocotb') +conflicts=('python-cocotb') +provides=('python-cocotb') depends=('python') + makedepends=('git' 'python-setuptools') optdepends=('iverilog: for simulating verilog designs' 'ghdl: for simulating VHDL designs' @@ -16,15 +17,15 @@ optdepends=('iverilog: for simulating verilog designs' options=(!emptydirs) source=('git+https://github.com/cocotb/cocotb') -sha256sums=('SKIP') - -pkgver() { - cd "${srcdir}/cocotb" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} +md5sums=('SKIP') package() { cd "${srcdir}/cocotb" python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 install -m 644 -D ./LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE +} + +pkgver() { + cd "${srcdir}/cocotb" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" }
\ No newline at end of file |