aboutsummaryrefslogtreecommitdiffstats
path: root/community/filezilla/APKBUILD
blob: 118b65a5ff028b0cb3dbaad308d1989667dece77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=filezilla
pkgver=3.55.1
pkgrel=0
pkgdesc="FTP Client"
url="https://filezilla-project.org/"
arch="all !mips !mips64"
license="GPL-2.0-or-later"
makedepends="gnutls-dev gtk+3.0-dev libfilezilla-dev>=0.30.0 libidn-dev
	pugixml-dev sqlite-dev wxgtk3-dev xdg-utils"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.filezilla-project.org/client/FileZilla_${pkgver}_src.tar.bz2
	missing-list-include.patch"
case "$CARCH" in
	s390x) options="$options !check";; # ratelimit_test fails
	riscv64) options="$options textrels";; # temp allow textrels
esac

build() {
	export CXXFLAGS="$CXXFLAGS -include assert.h"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--without-dbus \
		--with-wx-config=/usr/bin/wx-config-gtk3 \
		--disable-manualupdatecheck \
		--disable-autoupdatecheck
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
07f1ccc596cac64aca0e82a97725f2ade26de78116441ba5aefaa8bd1396a483be88d9820820b9767e77686abbfd0eb6190684303e1f4d9ec45ef0b1f2cf0170  FileZilla_3.55.1_src.tar.bz2
6280da4f1c359be7d49e8b590f036ddf1220ce6145fbba6c789c89d444a2a85d283275e402d996a6d28e9d5129f646b7920005d5d71faa4a80f0c734133c48a1  missing-list-include.patch
"