summaryrefslogtreecommitdiff
path: root/extra/misdnuser/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-18 00:02:20 +0000
committerroot <root@rshg054.dnsready.net>2012-05-18 00:02:20 +0000
commit2f104ecf78d6a93ba8d67273b76364cb1365a6cf (patch)
treec93787a9c08d8cb41a424644dc09fc529dfd63f1 /extra/misdnuser/PKGBUILD
parentf675762300c4ee2717e029975bb3f94312245276 (diff)
Fri May 18 00:02:20 UTC 2012
Diffstat (limited to 'extra/misdnuser/PKGBUILD')
-rw-r--r--extra/misdnuser/PKGBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/extra/misdnuser/PKGBUILD b/extra/misdnuser/PKGBUILD
index a6475d25c..9de576e21 100644
--- a/extra/misdnuser/PKGBUILD
+++ b/extra/misdnuser/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD 156006 2012-04-11 12:11:55Z tomegun $
+# $Id: PKGBUILD 159134 2012-05-16 12:27:20Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=misdnuser
-pkgver=2.0.11
-pkgrel=3
+pkgver=2.0.13_20120513
+pkgrel=1
pkgdesc="Tools and library for mISDN"
arch=('i686' 'x86_64')
url="http://www.misdn.org"
license=('GPL')
depends=('isdn4k-utils' 'spandsp')
backup=('etc/capi20.conf')
-options=('!libtool')
+options=('!makeflags' '!libtool' '!strip')
source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz
- misdncapid.rc)
+ misdncapid.rc
+ mISDNcapid.service
+ mISDNcapid.conf)
build() {
+ # only enable for debugging!
+ #export CFLAGS+=" -g -O0"
+ #export CXXFLAGS+=" -g -O0"
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --enable-capi --enable-softdsp --with-mISDN_group=uucp
make
@@ -30,6 +35,11 @@ package() {
rm -r ${pkgdir}/etc/udev/
# remove temporary dir /var/run/mISDNcapid
rm -r ${pkgdir}/var
+ # add systemd files
+ install -D -m644 ${srcdir}/mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/mISDNcapid.service
+ install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf
}
-md5sums=('1c8825afde76e290727240077bbd37ea'
- '2009563b144de037ecb20f8d727a772e')
+md5sums=('f61339c3a28a370cd971957e6ef07f5c'
+ '2009563b144de037ecb20f8d727a772e'
+ '638b399f7e0937639960c4dfb3d5138e'
+ '42c3b46880a68c3883ee1ed00af34b45')