diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/unrealircd/PKGBUILD | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/unrealircd/PKGBUILD')
-rw-r--r-- | community/unrealircd/PKGBUILD | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/community/unrealircd/PKGBUILD b/community/unrealircd/PKGBUILD deleted file mode 100644 index 813d6c0bd..000000000 --- a/community/unrealircd/PKGBUILD +++ /dev/null @@ -1,72 +0,0 @@ -# $Id: PKGBUILD 94846 2013-07-31 07:46:49Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Contributor: Zerial <fernando@zerial.org> - -pkgname=unrealircd -pkgver=3.2.10.1 -pkgrel=1 -pkgdesc="Open Source IRC Server" -arch=('i686' 'x86_64') -url="http://unrealircd.com" -license=('GPL2') -depends=('openssl' 'curl' 'c-ares') -conflicts=('ircd') -provides=('ircd') -backup=('etc/unrealircd/unrealircd.conf' - 'etc/conf.d/unrealircd') -source=(http://www.unrealircd.com/downloads/Unreal$pkgver.tar.gz - unrealircd.service - arch-fixes.patch) -md5sums=('97b4bd68a804e517355efa756f401a90' - '93276a1cd426e4a811c072c35fc31e94' - '77807313c4578f2c30286b9f9e3fb21c') - -build() { - cd $srcdir/Unreal$pkgver - - patch -p1 <$srcdir/arch-fixes.patch - - ac_cv_ip6=yes ./configure --with-showlistmodes \ - --enable-hub --enable-prefixaq --with-listen=5 \ - --with-dpath=/etc/unrealircd \ - --with-spath=/usr/bin \ - --with-nick-history=2000 --with-sendq=3000000 \ - --with-bufferpool=18 --with-hostname=archlinux \ - --with-permissions=0600 --with-fd-setsize=1024 \ - --enable-dynamic-linking \ - --enable-ziplinks \ - --enable-ssl \ - --enable-inet6 \ - --enable-libcurl=/usr \ - --with-system-cares - - make -} - -package() { - cd $srcdir/Unreal$pkgver - - mkdir -p $pkgdir/etc/unrealircd - mkdir -p $pkgdir/usr/bin - - make IRCDDIR=$pkgdir/etc/unrealircd BINDIR=$pkgdir/usr/bin install - - mv $srcdir/Unreal$pkgver/src/ircd $pkgdir/usr/bin/unrealircd - mv $srcdir/Unreal$pkgver/doc/example.conf $pkgdir/etc/unrealircd/unrealircd.conf - mkdir -p $pkgdir/usr/lib/unrealircd - mv $pkgdir/etc/unrealircd/modules $pkgdir/usr/lib/unrealircd/ - ln -s /usr/lib/unrealircd/modules $pkgdir/etc/unrealircd/modules - - # log - mkdir -p $pkgdir/var/log/unrealircd/ - touch $pkgdir/var/log/unrealircd/ircd.log - ln -s /var/log/unrealircd/ircd.log $pkgdir/etc/unrealircd/ircd.log - - mkdir -p $pkgdir/etc/conf.d/ - echo 'UNREALIRCD_USER=root' >$pkgdir/etc/conf.d/unrealircd - - find $pkgdir/usr -type f -exec chmod ugo+r {} \; - find $pkgdir/usr -type d -exec chmod ugo+rx {} \; - - install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service -} |