diff options
-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 |