diff options
author | WithTheBraid | 2022-06-16 13:33:34 +0200 |
---|---|---|
committer | WithTheBraid | 2022-06-16 13:36:26 +0200 |
commit | bfccc1a3c13b047d5b1ef14f260c79e8697c84a7 (patch) | |
tree | 455d76bbbfb74acb2f9483e280289110178ed8bc /PKGBUILD | |
parent | b9d12ed6fc4cf48bfe4c681e12aa09eb6e7f81c3 (diff) | |
download | aur-bfccc1a3c13b047d5b1ef14f260c79e8697c84a7.tar.gz |
feat: include Dart SDK cache into package
Fixes: #23
Signed-off-by: WithTheBraid <the-one@with-the-braid.cf>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -8,7 +8,7 @@ pkgdesc="A new mobile app SDK to help developers and designers build modern mobi arch=("x86_64") url="https://${pkgname}.dev" license=("custom" "BSD" "CCPL") -depends=("git" "glu" "java-environment" "libglvnd" "unzip") +depends=("git" "glu" "java-environment" "libglvnd" "unzip" "curl") optdepends=("android-sdk" "android-studio" "intellij-idea-community-edition" "intellij-idea-ultimate-edition" "ninja" "perl" "python") makedepends=("python") backup=("opt/${pkgname}/packages/${pkgname}_test/pubspec.yaml" "opt/${pkgname}/packages/${pkgname}/pubspec.yaml") @@ -33,6 +33,8 @@ package() { install -dm755 "${pkgdir}/opt/${pkgname}" install -dm755 "${pkgdir}/usr/bin" cp -ra "${srcdir}/${pkgname}" "${pkgdir}/opt/" + ${pkgdir}/opt/${pkgname}/bin/internal/update_dart_sdk.sh + ${pkgdir}/opt/${pkgname}/bin/flutter precache find "${pkgdir}/opt/${pkgname}" -type d -exec chmod a+rx {} + find "${pkgdir}/opt/${pkgname}" -type f -exec chmod a+r {} + chmod a+rw "${pkgdir}/opt/${pkgname}/version" |