updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / pure-ftpd-charsets / PKGBUILD
blob0e11718e9e1a7b70cd761fc303e961b79eb46dda
1 # Maintainer: tuxce <tuxce.net@gmail.com>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
3 # Contributor: BlueRaven <blue@ravenconsulting.it>
4 # Contributor: dorphell <dorphell@archlinux.org>
5 # Contributor: Wang Lun <iseuer@gmail.com>
7 pkgname=pure-ftpd-charsets
8 _pkgname=pure-ftpd
9 pkgver=1.0.30
10 pkgrel=1
11 pkgdesc="A fast, production quality, standards-conformant FTP server with charsets(RFC2640) enabled"
12 arch=('i686' 'x86_64')
13 url="http://www.pureftpd.org/"
14 license=('custom')
15 depends=('openssl' 'libmysqlclient')
16 backup=('etc/pure-ftpd.conf')
17 source=("ftp://ftp.pureftpd.org/pub/${_pkgname}/releases/${_pkgname}-${pkgver}.tar.bz2"
18         'pure-ftpd')
20 build() {
21         cd ${srcdir}/${_pkgname}-${pkgver}
22         ./configure --prefix=/usr \
23            --with-puredb \
24            --with-ftpwho \
25            --with-altlog \
26            --with-tls    \
27            --with-mysql  \
28            --with-rfc2640
29         make
32 package() {
33         cd ${srcdir}/${_pkgname}-${pkgver}
34         make DESTDIR=${pkgdir} install
35         install -Dm755 ${srcdir}/pure-ftpd ${pkgdir}/etc/rc.d/pure-ftpd
36         install -Dm644 configuration-file/pure-ftpd.conf ${pkgdir}/etc/pure-ftpd.conf
37         install -Dm755 configuration-file/pure-config.pl ${pkgdir}/usr/sbin/pure-config.pl
39         #install license
40         install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE
42 md5sums=('865a9020dbe48d30913c796ac3ec1f32'
43          '13cf942b643db7cf3e612185366391ca')