diff options
Diffstat (limited to 'community/znc')
-rw-r--r-- | community/znc/PKGBUILD | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/community/znc/PKGBUILD b/community/znc/PKGBUILD index 05ae2d741..64523d90d 100644 --- a/community/znc/PKGBUILD +++ b/community/znc/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 44397 2011-04-07 02:06:55Z kchen $ +# $Id: PKGBUILD 47765 2011-05-25 13:51:21Z tdziedzic $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: mickael9 <mickael9 at gmail dot com> pkgname=znc pkgver=0.098 -pkgrel=2 +pkgrel=3 pkgdesc='An IRC bouncer with modules & scripts support' url='http://en.znc.in/wiki/index.php/ZNC' license=('GPL2') @@ -13,21 +13,28 @@ arch=('i686' 'x86_64' 'mips64el') depends=('c-ares' 'gcc-libs' 'openssl') makedepends=('swig' 'tcl' 'python' 'perl' 'cyrus-sasl') optdepends=('tcl: modtcl module' - 'python: modpython module' - 'perl: modperl module' - 'cyrus-sasl: saslauth module') + 'python: modpython module' + 'perl: modperl module' + 'cyrus-sasl: saslauth module') -md5sums=('38eec4f1911a68b4d2fc704170e7cbf6') -source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz") +source=("http://znc.in/releases/znc-${pkgver}.tar.gz") +md5sums=('5667b4acb1f01309d6eded77abac700c') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd znc-${pkgver} + ./configure --prefix=/usr \ --enable-sasl \ --enable-tcl \ --enable-python \ --enable-perl \ --enable-extra - make; make DESTDIR="$pkgdir" install + + make +} + +package() { + cd znc-${pkgver} + + make DESTDIR=${pkgdir} install } -md5sums=('5667b4acb1f01309d6eded77abac700c') |