summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfrealgagu2018-12-03 20:13:23 -0500
committerfrealgagu2018-12-03 20:13:23 -0500
commit651ce6e87b9ce3bfb832a9c52e4bbe59ce1af999 (patch)
treea922a6003ce895972d3a4b0c6fc59dbe65b53d8a /PKGBUILD
parent19cc0eb3ec16045096759dc9bdff057b742c8830 (diff)
downloadaur-651ce6e87b9ce3bfb832a9c52e4bbe59ce1af999.tar.gz
Adding link to binary in /usr/bin
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index baeead01359..2d70f31c6f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Fredy GarcĂ­a <frealgagu at gmail dot com>
pkgname=flutter-git
-pkgver=0.11.0.r120.75ca39f8c3
+pkgver=0.11.13.r2.a226c0f0d9
pkgrel=1
pkgdesc="A new mobile app SDK to help developers and designers build modern mobile apps for iOS and Android."
arch=("x86_64")
@@ -49,9 +49,11 @@ package() {
install -Dm644 "${srcdir}/${pkgname%-git}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 "${srcdir}/${pkgname%-git}.sh" "${pkgdir}/etc/profile.d/${pkgname%-git}.sh"
install -Dm755 "${srcdir}/${pkgname%-git}.csh" "${pkgdir}/etc/profile.d/${pkgname%-git}.csh"
- install -d "${pkgdir}/opt/${pkgname%-git}/"
+ install -dm755 "${pkgdir}/opt/${pkgname%-git}"
+ install -dm755 "${pkgdir}/usr/bin"
cp -ra "${srcdir}/${pkgname%-git}" "${pkgdir}/opt/"
find "${pkgdir}/opt/${pkgname%-git}" -type d -exec chmod a+rx {} +
find "${pkgdir}/opt/${pkgname%-git}" -type f -exec chmod a+r {} +
chmod a+rw "${pkgdir}/opt/${pkgname%-git}/bin/cache/lockfile" "${pkgdir}/opt/${pkgname%-git}/version"
+ ln -s "/opt/${pkgname%-git}/bin/${pkgname%-git}" "${pkgdir}/usr/bin/${pkgname%-git}"
}