summaryrefslogtreecommitdiff
path: root/community/minbif/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/minbif/PKGBUILD')
-rw-r--r--community/minbif/PKGBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/community/minbif/PKGBUILD b/community/minbif/PKGBUILD
index a77b8a4e3..f34717346 100644
--- a/community/minbif/PKGBUILD
+++ b/community/minbif/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 66328 2012-02-23 15:30:58Z lfleischer $
+# $Id: PKGBUILD 75192 2012-08-15 19:32:50Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: AkiraYB <brunoyb!yahoo,com,br>
pkgname=minbif
pkgver=1.0.5
-pkgrel=1
+pkgrel=2
pkgdesc='An IRC gateway to IM networks that uses libpurple.'
arch=('i686' 'x86_64' 'mips64el')
url='http://minbif.im/'
@@ -16,13 +16,22 @@ backup=('etc/minbif/minbif.conf'
'etc/minbif/minbif.motd')
install='minbif.install'
source=("http://minbif.im/attachments/download/148/${pkgname}-${pkgver}.tar.gz"
- 'minbif')
+ 'minbif-gcc-4.7.patch'
+ 'minbif'
+ 'minbif.service'
+ 'minbif.tmpfiles.conf')
md5sums=('00c5c1abbe2b8a9d900961832c7909a8'
- '307a6fab42bcaeed11a55b5fb4589778')
+ '2235c45d5bdb01e9ef4b11d2a41d49bb'
+ '307a6fab42bcaeed11a55b5fb4589778'
+ 'b34876e339a37dfb1dc6cd0b9d8edf9d'
+ '3360f5d1bf9bc69fd9b7c9326f321dc3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # build fixes
+ patch -p1 -i ../minbif-gcc-4.7.patch
+
make PREFIX=/usr CONF_PREFIX=/etc/minbif ENABLE_MINBIF=ON ENABLE_IMLIB=ON ENABLE_CACA=ON \
ENABLE_VIDEO=OFF ENABLE_PLUGIN=OFF ENABLE_PAM=ON ENABLE_TLS=ON DEBUG=OFF
}
@@ -36,4 +45,7 @@ package() {
install -Dm0755 "${srcdir}/minbif" "${pkgdir}/etc/rc.d/minbif"
make DESTDIR="${pkgdir}" install
+
+ install -Dm0644 "${srcdir}/minbif.service" "${pkgdir}/usr/lib/systemd/system/minbif.service"
+ install -Dm0644 "${srcdir}/minbif.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/minbif.conf"
}