diff options
author | hayao | 2020-10-22 15:37:17 +0900 |
---|---|---|
committer | hayao | 2020-10-22 15:37:17 +0900 |
commit | 68651f433f209a312c0156dface9c21d9c30df1c (patch) | |
tree | 80fd3eb25dfd46bfa84a7e59e5ed7b782c95689a /PKGBUILD | |
parent | 20303bb5145163dcfad285d212909e70447a26ef (diff) | |
download | aur-68651f433f209a312c0156dface9c21d9c30df1c.tar.gz |
[update] : Updated 3.51.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 17 insertions, 20 deletions
@@ -2,8 +2,8 @@ _pkgname=filezilla pkgname="$_pkgname-bin" -pkgver=3.50.0 -pkgrel=3 +pkgver=3.51.0 +pkgrel=1 pkgdesc='Free, open source FTP, FTPS and SFTP client (Pre-built binary)' arch=('i686' 'x86_64') url='https://filezilla-project.org' @@ -32,23 +32,20 @@ sha512sums=( ) package() { - # filezilla - mkdir -p "${pkgdir}/usr/bin/" - mkdir -p "${pkgdir}/usr/share/" - cp -r "${srcdir}/FileZilla3/bin/"* "${pkgdir}/usr/bin/" - cp -r "${srcdir}/FileZilla3/share/"* "${pkgdir}/usr/share/" - - # libfilezilla - mkdir -p "${pkgdir}/usr/lib/" - cp -r "${srcdir}/FileZilla3/lib/"* "${pkgdir}/usr/lib/" - - # remove conflict files - rm -rf "${pkgdir}/usr/lib/libgmp."* - rm -rf "${pkgdir}/usr/lib/libgnutls."* - rm -rf "${pkgdir}/usr/lib/libhogweed."* - rm -rf "${pkgdir}/usr/lib/libnettle."* - rm -rf "${pkgdir}/usr/lib/libsqlite3."* - - chmod -R 755 "${pkgdir}/usr/" + rm -rf "${srcdir}/FileZilla_${pkgver}_${machine_arch}-linux-gnu.tar.bz2" + mkdir -p "${pkgdir}/opt/" "${pkgdir}/usr/bin/" + cp -r "${srcdir}/"* "${pkgdir}/opt/" + + mv "${pkgdir}/opt/FileZilla3/share" "${pkgdir}/usr/" + + local _fullpath _filename _make_link + function _make_link () { + ln -s "${1}" "${2}" + echo "Created symlink ${1} -> ${2}" + } + for _fullpath in "${pkgdir}/opt/FileZilla3/bin/"* ;do + _filename="$(basename "${_fullpath}")" + _make_link "/opt/FileZilla3/bin/${_filename}" "${pkgdir}/usr/bin/${_filename}" + done } |