desktop/qftp/PKGBUILD

40 lines
1.1 KiB
Bash
Raw Normal View History

2013-11-16 19:24:40 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# contributor: abveritas[at]chakra-project[dot]org>
2010-09-27 21:37:05 +08:00
pkgname=qftp
2013-11-16 19:24:40 +08:00
pkgver=1.5.2
2011-09-10 20:13:48 +08:00
pkgrel=1
2012-10-09 02:25:45 +08:00
pkgdesc="A Qt client for FTP file transfers."
2013-11-16 19:24:40 +08:00
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"
2010-09-27 21:37:05 +08:00
license=('GPL')
2013-11-16 19:24:40 +08:00
depends=('qt5-base')
categories=('network')
2012-10-22 13:17:00 +08:00
screenshot=('http://www.phenix.bnl.gov/WWW/publish/hpereira/software/screenshot/qftp_connect.png')
2012-01-06 03:49:27 +08:00
source=("http://www.phenix.bnl.gov/WWW/publish/hpereira/software/tgz/${pkgname}-${pkgver}.tar.gz")
2013-11-16 19:24:40 +08:00
md5sums=('afaeb21dba650b27688246328b76712e')
2010-09-27 21:37:05 +08:00
build() {
2012-10-09 02:25:45 +08:00
cd "${srcdir}"
2012-01-06 03:49:27 +08:00
2012-10-09 02:25:45 +08:00
mkdir -p build
cd build
2012-01-06 03:49:27 +08:00
2012-10-09 02:25:45 +08:00
# The default LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" specified
# in /etc/makepkg.conf will break the linkage procedure.
unset LDFLAGS
2013-11-16 19:24:40 +08:00
2012-10-09 02:25:45 +08:00
cmake "${srcdir}/${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
2013-11-16 19:24:40 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_QT5=ON
2012-01-06 03:49:27 +08:00
make
2010-09-27 21:37:05 +08:00
}
package() {
2012-10-09 02:25:45 +08:00
cd "${srcdir}/build"
make install DESTDIR="${pkgdir}"
2012-01-05 22:25:01 +08:00
}
2012-01-06 03:49:27 +08:00