51 lines
994 B
Bash
51 lines
994 B
Bash
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
# you also find the URL of a binary repository.
|
|
|
|
_name=libfilezilla
|
|
pkgname=libfilezilla-svn
|
|
pkgver=r7253
|
|
pkgrel=1
|
|
pkgdesc="Library used by FileZilla"
|
|
arch=('i686' 'x86_64')
|
|
url="https://filezilla-project.org/"
|
|
license=('GPL')
|
|
depends=('gcc-libs')
|
|
makedepends=('subversion')
|
|
checkdepends=('cppunit')
|
|
provides=(${pkgname%-svn})
|
|
conflicts=(${pkgname%-svn})
|
|
install=
|
|
source=("${_name}::svn+https://svn.filezilla-project.org/svn/libfilezilla/trunk")
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "${srcdir}/${_name}"
|
|
local ver="$(svnversion)"
|
|
printf "r%s" "${ver//[[:alpha:]]}"
|
|
}
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${_name}"
|
|
autoreconf -i
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${_name}"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${_name}"
|
|
LANG=en_US.UTF-8 make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_name}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|