diff options
author | Wil Thomason | 2020-05-20 10:13:51 -0400 |
---|---|---|
committer | Wil Thomason | 2020-05-20 10:13:51 -0400 |
commit | ba917fa2398d9ec923bf38652b3603af9dfaffac (patch) | |
tree | 275aeb83d1d82bb17826e29772a716f88b02d7e7 /PKGBUILD | |
parent | b858cd23bdcddac952d471854d690d6458c65039 (diff) | |
download | aur-ba917fa2398d9ec923bf38652b3603af9dfaffac.tar.gz |
Handle Heap-Layers more appropriately as an explicit source
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -2,15 +2,16 @@ pkgname='python-scalene-git' pkgver=r461.822c83d -pkgrel=2 +pkgrel=3 pkgdesc='Scalene is a high-performance, high-precision CPU and memory profiler for Python' arch=('any') url='https://github.com/emeryberger/scalene' license=('Apache-2.0') depends=('python>=3.6' 'python-numpy') makedepends=('python-setuptools' 'make' 'clang' 'git') -source=("${pkgname}::git+https://github.com/emeryberger/scalene.git") -sha256sums=('SKIP') +source=("${pkgname}::git+https://github.com/emeryberger/scalene.git" + "git+https://github.com/emeryberger/Heap-Layers") +sha256sums=('SKIP' 'SKIP') provides=('python-scalene') pkgver() { @@ -20,9 +21,7 @@ pkgver() { prepare() { cd "$srcdir/${pkgname}" - if [ ! -d Heap-Layers ] || [ -z "$(ls -A Heap-Layers)" ]; then - git clone https://github.com/emeryberger/Heap-Layers - fi + ln -s "$srcdir/Heap-Layers" Heap-Layers } build() { |