desktop/qftp/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

36 lines
1.2 KiB
Bash

pkgname=qftp
pkgver=1.5.8
pkgrel=1
pkgdesc="A Qt client for FTP file transfers."
arch=('x86_64')
url="http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=qftp&full=0"
license=('GPLv2')
depends=('qt5-base' 'xcb-util-keysyms')
makedepends=('cmake')
categories=('network')
source=("http://hugo.pereira.free.fr/software/tgz/${pkgname}-${pkgver}.tar.gz"
"qftp.desktop")
sha256sums=('360666ad73d913c43140364897c59be25d8cbeb25e3e44fb64633a00e95f3c6d'
'f47e84a94e6be6361b56e581110e549cc7533ccca425f2a4ba98470dba43969b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# The default LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed" specified
# in /etc/makepkg.conf will break the linkage procedure.
export LDFLAGS="-lX11" # Fix linking error.
cmake ./ -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT5=1
make
}
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
}