aboutsummaryrefslogblamecommitdiffstats
path: root/community/filezilla/APKBUILD
blob: 4541ce2d1128ee71efc55f9327bd64156f5caa52 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                     
             
        
                    
                                   
                        
                          
                                                                       
                                                    
                                        


                                                                                     

                                                                    
    

         
                                                     
                     
                               


                                           



                                                          


            
         


                  



                                      
            
                                                                                                                                                              

                                                                                                                                                            
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=filezilla
pkgver=3.55.0
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="
8a1221e97719610be900d66f7feba90d1c5053a618b38084e93e8f2b11e51fc523336e11e110f51828eba3f17f60cea1fcd8060bd0cc5e7fdb3d24f35a4c1732  FileZilla_3.55.0_src.tar.bz2
6280da4f1c359be7d49e8b590f036ddf1220ce6145fbba6c789c89d444a2a85d283275e402d996a6d28e9d5129f646b7920005d5d71faa4a80f0c734133c48a1  missing-list-include.patch
"