desktop/qftp/PKGBUILD

36 lines
1.2 KiB
Bash
Raw Normal View History

2010-09-27 21:37:05 +08:00
pkgname=qftp
2018-02-22 15:51:14 +08:00
pkgver=1.5.10
2016-01-05 03:59:38 +08:00
pkgrel=1
2018-02-22 15:51:14 +08:00
pkgdesc="A Qt5 client for FTP file transfers."
2013-11-16 19:24:40 +08:00
arch=('x86_64')
2014-04-24 07:05:15 +08:00
url="http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=qftp&full=0"
license=('GPLv2')
2018-02-22 15:51:14 +08:00
depends=('qt5-base' 'xcb-util-keysyms' 'qt5-x11extras')
2015-10-01 21:01:57 +08:00
makedepends=('cmake')
categories=('network')
2018-02-22 15:51:14 +08:00
source=("http://hugo.pereira.free.fr/software/tgz/$pkgname-$pkgver.tar.gz"
"$pkgname.desktop")
sha256sums=('c7044291e14fee5e8dec34fbed3c4e41649111e31517a208c02758146e4c300b'
2016-01-05 03:59:38 +08:00
'f47e84a94e6be6361b56e581110e549cc7533ccca425f2a4ba98470dba43969b')
2014-04-24 07:05:15 +08:00
2010-09-27 21:37:05 +08:00
build() {
2018-02-22 15:51:14 +08:00
cd $pkgname-$pkgver
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.
2014-04-24 07:05:15 +08:00
export LDFLAGS="-lX11" # Fix linking error.
2015-10-01 21:01:57 +08:00
cmake ./ -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT5=1
2012-01-06 03:49:27 +08:00
make
2010-09-27 21:37:05 +08:00
}
package() {
2018-02-22 15:51:14 +08:00
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
2014-04-24 07:05:15 +08:00
2018-02-22 15:51:14 +08:00
install -d $pkgdir/usr/share/{pixmaps,applications}
install -m644 ../$pkgname.desktop $pkgdir/usr/share/applications
install -m644 $pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
2012-01-05 22:25:01 +08:00
}