gtk/filezilla/PKGBUILD

46 lines
1.5 KiB
Bash
Raw Normal View History

2013-04-28 06:49:48 +08:00
pkgname=filezilla
2015-03-04 21:22:00 +08:00
pkgver=3.10.2
2014-06-04 21:37:01 +08:00
pkgrel=1
2013-04-28 06:49:48 +08:00
pkgdesc="Fast and reliable FTP, FTPS and SFTP client"
arch=('x86_64')
url="http://filezilla-project.org/"
license=('GPL')
2015-01-23 07:05:55 +08:00
depends=('dbus' 'xdg-utils' 'wxgtk' 'libidn' 'hicolor-icon-theme' 'sqlite3' 'gnutls')
2013-09-01 20:17:55 +08:00
install=${pkgname}.install
changelog=${pkgname}.changelog
2013-05-19 15:56:26 +08:00
source=("http://downloads.sourceforge.net/project/filezilla/FileZilla_Client/${pkgver}/FileZilla_${pkgver}_src.tar.bz2"
2015-03-04 21:22:00 +08:00
"http://kde-look.org/CONTENT/content-files/141546-filezilla-oxygen-theme.tar.gz"
"fix-missing-include-fz-bug-10280.patch")
sha256sums=('c08ee3bff4ce35010a5f32610ef699081662c9f8c51c20740f719e653ce9b611'
'3943d1f650e6d1bece2ba1fdd84d013b9f8fabdcfc6845f9d62e5d4673a21740'
'e01cbb3e260171bb2f7c73d773e08b751f8cfb48a2152555dffd1981e4a814f7')
2013-04-28 06:49:48 +08:00
2015-03-04 21:22:00 +08:00
prepare() {
cd "${pkgname}-${pkgver}"
patch -p2 -i "$srcdir/fix-missing-include-fz-bug-10280.patch"
}
2013-04-28 06:49:48 +08:00
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
2013-04-28 06:49:48 +08:00
--disable-manualupdatecheck \
--disable-autoupdatecheck \
--disable-static \
--with-tinyxml=builtin
make
}
package() {
2013-09-01 20:17:55 +08:00
cd "${pkgname}-${pkgver}"
2013-05-19 15:56:26 +08:00
2013-09-01 20:17:55 +08:00
make DESTDIR="${pkgdir}" install
2013-04-28 06:49:48 +08:00
install -dm755 "${pkgdir}/usr/share/filezilla/resources/oxygen"
cp -dpr --no-preserve=ownership "${srcdir}/oxygen" "${pkgdir}/usr/share/filezilla/resources/"
2013-09-01 20:17:55 +08:00
install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm644 {AUTHORS,ChangeLog,README} "${pkgdir}/usr/share/doc/${pkgname}/"
2013-04-28 06:49:48 +08:00
}