mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
qftp update to 1.5.3-1
This commit is contained in:
parent
6920456e85
commit
681ffeb34e
@ -1,39 +1,38 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
||||||
# contributor: abveritas[at]chakra-project[dot]org>
|
# contributor: abveritas[at]chakra-project[dot]org>
|
||||||
|
|
||||||
pkgname=qftp
|
pkgname=qftp
|
||||||
pkgver=1.5.2
|
pkgver=1.5.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A Qt client for FTP file transfers."
|
pkgdesc="A Qt client for FTP file transfers."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=qftp&full=1"
|
url="http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=qftp&full=0"
|
||||||
license=('GPL')
|
license=('GPLv2')
|
||||||
depends=('qt5-base')
|
depends=('qt')
|
||||||
categories=('network')
|
categories=('network')
|
||||||
screenshot=('http://www.phenix.bnl.gov/WWW/publish/hpereira/software/screenshot/qftp_connect.png')
|
source=("http://hugo.pereira.free.fr/software/tgz/${pkgname}-${pkgver}.tar.gz"
|
||||||
source=("http://www.phenix.bnl.gov/WWW/publish/hpereira/software/tgz/${pkgname}-${pkgver}.tar.gz")
|
"qftp.desktop")
|
||||||
md5sums=('afaeb21dba650b27688246328b76712e')
|
sha256sums=('7a5a09e1710952935757afacf5e54288c4a00a15c883ff4d493fd179e3c235f9'
|
||||||
|
'f47e84a94e6be6361b56e581110e549cc7533ccca425f2a4ba98470dba43969b')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
mkdir -p build
|
|
||||||
cd build
|
|
||||||
|
|
||||||
# The default LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" specified
|
# The default LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" specified
|
||||||
# in /etc/makepkg.conf will break the linkage procedure.
|
# in /etc/makepkg.conf will break the linkage procedure.
|
||||||
unset LDFLAGS
|
export LDFLAGS="-lX11" # Fix linking error.
|
||||||
|
|
||||||
cmake "${srcdir}/${pkgname}-${pkgver}" \
|
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
-DUSE_QT5=ON
|
|
||||||
|
|
||||||
|
cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${srcdir}/build"
|
|
||||||
make install DESTDIR="${pkgdir}"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
make install DESTDIR="${pkgdir}"
|
||||||
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||||
|
|
||||||
|
install -d "${pkgdir}"/usr/share/{pixmaps,applications}
|
||||||
|
install -m644 "${srcdir}"/qftp.desktop "${pkgdir}"/usr/share/applications
|
||||||
|
install -m644 "${srcdir}"/"${pkgname}-${pkgver}"/qftp.png "${pkgdir}"/usr/share/pixmaps/qftp.png
|
||||||
|
}
|
||||||
|
13
qftp/qftp.desktop
Normal file
13
qftp/qftp.desktop
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Qftp
|
||||||
|
GenericName=FTP QT-client
|
||||||
|
GenericName[es]=Cliente QT para FTP
|
||||||
|
GenericName[fr]=Client QT pour FTP
|
||||||
|
Comment=Download and upload files via FTP
|
||||||
|
Comment[es]=Descarga y sube archivos via FTP
|
||||||
|
Comment[fr]=Transférer des fichiers via FTP
|
||||||
|
Exec=qftp
|
||||||
|
Terminal=false
|
||||||
|
Icon=qftp.png
|
||||||
|
Type=Application
|
||||||
|
Categories=Network;FileTransfer;
|
Loading…
Reference in New Issue
Block a user