desktop/qftp/PKGBUILD
2012-01-05 19:50:34 +00:00

39 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=qftp
pkgver=1.3.2
pkgrel=1
pkgdesc="A QT client for FTP file transfer."
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')
source=("http://www.phenix.bnl.gov/WWW/publish/hpereira/software/tgz/${pkgname}-${pkgver}.tar.gz")
md5sums=('f5d7d9bfc0559748a218446048adca0d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Configure and build
./autogen.sh --prefix=/usr --with-qt-dir=/usr
# Set the right flags... (-Werror is not gonna work!)
find "${srcdir}" -name Makefile -exec sed -i 's~^CXXFLAGS = -Wall -Werror -Wno-non-virtual-dtor$~CXXFLAGS = -Wall -Wno-non-virtual-dtor~g' \{\} \;
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et: