#Packager: Dimitris Tzemos <dijemos@gmail.com>

pkgname=libfilezilla
pkgver=0.45.0
pkgrel=1dj
source=("https://download.filezilla-project.org/libfilezilla/libfilezilla-$pkgver.tar.xz")
docs=("AUTHORS" "COPYING" "INSTALL" "NEWS" "README")
url=http://filezilla-project.org/

slackdesc=\
(
#|-----handy-ruler----------------------------------------------|
"libfilezilla (C++ Library)"
"libfilezilla is a small and modern C++ library, offering some basic"
"functionality to build high-performing, platform-independent programs."
"libfilezilla is a cross-platform library for all major operating"
"systems, including but not limited to Linux, *BSD, OS X and Windows."
"This library is free software, it is distributed under the terms and"
"conditions of the GNU General Public License v2+"
""
"Project URL: https://lib.filezilla-project.org/"

)


build() {
	cd $startdir/src/$pkgname-$pkgver

	./configure \
		--prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--mandir=/usr/man \
		--enable-static=no \
		--build=$arch-slackware-linux || return 1
	
	make || return 1
	make install DESTDIR=$startdir/pkg
	
}
