mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
|
# contributor: abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=qftp
|
|
pkgver=1.5.2
|
|
pkgrel=1
|
|
pkgdesc="A Qt client for FTP file transfers."
|
|
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"
|
|
license=('GPL')
|
|
depends=('qt5-base')
|
|
categories=('network')
|
|
screenshot=('http://www.phenix.bnl.gov/WWW/publish/hpereira/software/screenshot/qftp_connect.png')
|
|
source=("http://www.phenix.bnl.gov/WWW/publish/hpereira/software/tgz/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('afaeb21dba650b27688246328b76712e')
|
|
|
|
build() {
|
|
cd "${srcdir}"
|
|
|
|
mkdir -p build
|
|
cd build
|
|
|
|
# The default LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" specified
|
|
# in /etc/makepkg.conf will break the linkage procedure.
|
|
unset LDFLAGS
|
|
|
|
cmake "${srcdir}/${pkgname}-${pkgver}" \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DUSE_QT5=ON
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|
|
|