summaryrefslogtreecommitdiff
path: root/community/unrealircd/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-16 16:49:47 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-16 16:49:47 +0200
commitbc864260b40f40e8f689788c54f6138007764077 (patch)
tree9c9be0d9a53d7e3a03d76276fc4b02dd08b552bf /community/unrealircd/PKGBUILD
parentb90f83b99150003a2022c3a4bbad90b12eb56b7e (diff)
parent453f3b8b2c568e9babcdc4852772278a39f130c0 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bird/PKGBUILD community/drbd/PKGBUILD community/etherape/PKGBUILD community/ext4magic/PKGBUILD community/fcron/PKGBUILD community/fcron/systab.orig community/gnome-panel/PKGBUILD community/libident/PKGBUILD community/libtorrent/PKGBUILD community/linux-tools/PKGBUILD community/linux-tools/usbipd.service community/makedev/PKGBUILD community/minbif/PKGBUILD community/noip/PKGBUILD community/notmuch/PKGBUILD community/pam_pwcheck/PKGBUILD community/pound/PKGBUILD community/preload/PKGBUILD community/python-cchardet/PKGBUILD community/rtorrent/PKGBUILD community/tor/PKGBUILD community/ude/PKGBUILD core/openldap/PKGBUILD core/sysvinit/PKGBUILD extra/cd-discid/PKGBUILD extra/cvs/PKGBUILD extra/epiphany-extensions/PKGBUILD extra/fbset/PKGBUILD extra/fluidsynth/PKGBUILD extra/gtkmm/PKGBUILD extra/gvfs/PKGBUILD extra/kdepim/PKGBUILD extra/libical/PKGBUILD extra/mutt/PKGBUILD extra/netkit-bsd-finger/PKGBUILD extra/ossp/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/rtkit/PKGBUILD extra/samba/PKGBUILD extra/totem/PKGBUILD extra/webkitgtk/PKGBUILD libre/liferea-libre/PKGBUILD libre/mplayer-vaapi-libre/PKGBUILD
Diffstat (limited to 'community/unrealircd/PKGBUILD')
-rw-r--r--community/unrealircd/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/community/unrealircd/PKGBUILD b/community/unrealircd/PKGBUILD
index e3adb060e..0bfb47bd4 100644
--- a/community/unrealircd/PKGBUILD
+++ b/community/unrealircd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 82103 2013-01-08 15:57:53Z spupykin $
+# $Id: PKGBUILD 90731 2013-05-13 14:39:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zerial <fernando@zerial.org>
pkgname=unrealircd
pkgver=3.2.10
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source IRC Server"
arch=('i686' 'x86_64' 'mips64el')
url="http://unrealircd.com"
@@ -15,17 +15,13 @@ provides=('ircd')
backup=('etc/unrealircd/unrealircd.conf'
'etc/conf.d/unrealircd')
source=(http://www.unrealircd.com/downloads/Unreal$pkgver.tar.gz
- unrealircd.rc
unrealircd.service
arch-fixes.patch)
md5sums=('05b0bbdbfab9ffc2304f7595951d7cec'
- '07ffa1e82a01f319a8b997e155d2af1d'
'2103ce8a4a4e79f6955920bfebea0202'
'77807313c4578f2c30286b9f9e3fb21c')
build() {
- mkdir -p $pkgdir/etc/unrealircd
- mkdir -p $pkgdir/usr/bin
cd $srcdir/Unreal$pkgver
patch -p1 <$srcdir/arch-fixes.patch
@@ -44,6 +40,14 @@ build() {
--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
@@ -51,7 +55,6 @@ build() {
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
- install -D -m0755 $srcdir/unrealircd.rc $pkgdir/etc/rc.d/unrealircd
# log
mkdir -p $pkgdir/var/log/unrealircd/