diff options
author | Anthony Wang | 2021-11-30 21:00:47 -0600 |
---|---|---|
committer | Anthony Wang | 2021-11-30 21:00:47 -0600 |
commit | c9f7e4a73b7f77d3c326d233849e45a2ea852786 (patch) | |
tree | 3064929de7bfcca9d42e7a4b7e83f0ca19d45da3 | |
parent | c5423400e97c6b6e6bf3f0d08ec5a20a44290314 (diff) | |
download | aur-c9f7e4a73b7f77d3c326d233849e45a2ea852786.tar.gz |
Don't use makepkg subroutines
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -22,17 +22,17 @@ package() { prefix="${pkgdir}/opt/${pkgname}" LD_PRELOAD="/usr/lib/libfakeroot/libfakeroot.so" - msg2 "Packaging ${pkgname} for installation to /opt/${pkgname}" + # Packaging miniconda3 for installation to /opt/miniconda3 bash "${srcdir}/miniconda3-${pkgver}.sh" -b -p $prefix -f [ "$BREAK_EARLY" = 1 ] && exit 1 cd "${prefix}" - msg2 "Correcting permissions" + # Correcting permissions chmod a+r -R pkgs - msg2 "Stripping \$pkgdir" + # Stripping $pkgdir sed "s|${pkgdir}||g" -i $(grep "$pkgdir" . -rIl) - msg2 "Installing license" + # Installing license install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |