summaryrefslogtreecommitdiff
path: root/community/unrealircd
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-18 10:38:15 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-18 10:38:15 -0300
commit59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (patch)
tree452fb18314fb6d4393552d1ef1190a3168353f44 /community/unrealircd
parentbb3524a1ba0370174d0c586ae94cd503b562a207 (diff)
parent9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/gambas2/PKGBUILD community-staging/gambas3/PKGBUILD community-staging/libextractor/PKGBUILD community-staging/pdf2djvu/PKGBUILD community/dante/PKGBUILD community/gnunet/PKGBUILD community/luafilesystem/PKGBUILD community/luajit/PKGBUILD community/python-mpi4py/PKGBUILD community/python-psutil/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/pycrypto/PKGBUILD extra/pygobject/PKGBUILD extra/pygobject2/PKGBUILD extra/pyopenssl/PKGBUILD extra/python/PKGBUILD extra/vde2/PKGBUILD gnome-unstable/clutter-gtk/PKGBUILD gnome-unstable/clutter/PKGBUILD gnome-unstable/eog/PKGBUILD gnome-unstable/evolution-data-server/PKGBUILD gnome-unstable/gcr/PKGBUILD gnome-unstable/gnome-desktop/PKGBUILD gnome-unstable/gnome-keyring/PKGBUILD gnome-unstable/gnome-themes-standard/PKGBUILD gnome-unstable/gobject-introspection/PKGBUILD staging/kdebase-workspace/PKGBUILD testing/iputils/PKGBUILD testing/php/PKGBUILD testing/php/php-fpm.conf.in.patch testing/php/php-fpm.service testing/php/rc.d.php-fpm
Diffstat (limited to 'community/unrealircd')
-rw-r--r--community/unrealircd/PKGBUILD8
-rw-r--r--community/unrealircd/unrealircd.service12
2 files changed, 18 insertions, 2 deletions
diff --git a/community/unrealircd/PKGBUILD b/community/unrealircd/PKGBUILD
index 41de79973..1a9539897 100644
--- a/community/unrealircd/PKGBUILD
+++ b/community/unrealircd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 60367 2011-12-12 09:58:46Z spupykin $
+# $Id: PKGBUILD 78360 2012-10-17 15:21:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zerial <fernando@zerial.org>
pkgname=unrealircd
pkgver=3.2.9
-pkgrel=2
+pkgrel=3
pkgdesc="Open Source IRC Server"
arch=('i686' 'x86_64' 'mips64el')
url="http://unrealircd.com"
@@ -15,9 +15,11 @@ provides=('ircd')
backup=(etc/unrealircd/unrealircd.conf)
source=(http://www.unrealircd.com/downloads/Unreal$pkgver.tar.gz
unrealircd.rc
+ unrealircd.service
arch-fixes.patch)
md5sums=('bde023695347969f545ce5f2a9ac9aed'
'07ffa1e82a01f319a8b997e155d2af1d'
+ '2103ce8a4a4e79f6955920bfebea0202'
'77807313c4578f2c30286b9f9e3fb21c')
build() {
@@ -60,4 +62,6 @@ build() {
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
}
diff --git a/community/unrealircd/unrealircd.service b/community/unrealircd/unrealircd.service
new file mode 100644
index 000000000..42279fae0
--- /dev/null
+++ b/community/unrealircd/unrealircd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=IRC daemon
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+User=ircd
+PIDFile=/var/run/unrealircd.pid
+ExecStart=/usr/bin/unrealircd -p
+
+[Install]
+WantedBy=multi-user.target