mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 23:17:16 +08:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=qftp
|
|
pkgver=1.4.5
|
|
pkgrel=1
|
|
pkgdesc="A Qt client for FTP file transfers."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.phenix.bnl.gov/WWW/publish/hpereira/software/index.php?page=package&package_list=software_list_qt4&package=qftp-qt4&full=1"
|
|
license=('GPL')
|
|
depends=('qt')
|
|
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=('15ab369a80e5e76952a5bb9e79ea9b61')
|
|
|
|
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
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|