From 1e9039cf3ae9385e33f56f38308f4638d69fab8d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Feb 2015 16:45:31 +0100 Subject: [PATCH] New package: bitlbee-3.2.2. --- srcpkgs/bitlbee/files/bitlbee/run | 6 ++++++ srcpkgs/bitlbee/template | 36 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 srcpkgs/bitlbee/files/bitlbee/run create mode 100644 srcpkgs/bitlbee/template diff --git a/srcpkgs/bitlbee/files/bitlbee/run b/srcpkgs/bitlbee/files/bitlbee/run new file mode 100644 index 0000000000..de284a80cd --- /dev/null +++ b/srcpkgs/bitlbee/files/bitlbee/run @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +mkdir -p /var/lib/bitlbee /run/bitlbee +chown bitlbee:bitlbee /var/lib/bitlbee /run/bitlbee +[ -s conf ] && . ./conf +exec chpst -u bitlbee:bitlbee bitlbee -n ${OPTS:=-F} diff --git a/srcpkgs/bitlbee/template b/srcpkgs/bitlbee/template new file mode 100644 index 0000000000..fbf0235526 --- /dev/null +++ b/srcpkgs/bitlbee/template @@ -0,0 +1,36 @@ +# Template file for 'bitlbee' +pkgname=bitlbee +version=3.2.2 +revision=1 +build_style=gnu-configure +configure_args="--etcdir=/etc/bitlbee --sbindir=/usr/bin + --pidfile=/run/${pkgname}/${pkgname}.pid + --ipcsocket=/run/${pkgname}/${pkgname}.sock + --ssl=openssl --strip=0 --otr=plugin --skype=plugin" +hostmakedepends="pkg-config asciidoc" +makedepends="libgcrypt-devel libotr-devel libssl-devel libglib-devel" +make_install_args="install-etc" +short_desc="Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC" +maintainer="Juan RP " +license="GPL-2" +homepage="http://www.bitlbee.org/" +distfiles="http://get.bitlbee.org/src/$pkgname-$version.tar.gz" +checksum=ba38939281f23e8a0e71022c7be0cb68f6544248404362c5e20245fa7a67558e + +system_accounts="$pkgname" +bitlbee_homedir="/var/lib/$pkgname" + +conf_files=" + /etc/${pkgname}/motd.txt + /etc/${pkgname}/${pkgname}.conf + /etc/skyped/skyped.conf + /etc/skyped/skyped.cnf" + +post_configure() { + sed -e "s,-L/lib,-L${XBPS_CROSS_BASE}/usr/lib,g" \ + -e "s,-I/include,-I${XBPS_CROSS_BASE}/usr/include,g" \ + -i Makefile.settings +} +post_install() { + vsv $pkgname +}