[arch-commits] Commit in misdnuser/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Mon Nov 3 21:15:21 UTC 2014


    Date: Monday, November 3, 2014 @ 22:15:21
  Author: tpowa
Revision: 225595

upgpkg: misdnuser 2.0.19-1

bump to latest version

Modified:
  misdnuser/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-03 20:43:52 UTC (rev 225594)
+++ PKGBUILD	2014-11-03 21:15:21 UTC (rev 225595)
@@ -2,39 +2,33 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=misdnuser
-pkgver=2.0.17_20120917
-pkgrel=3
+pkgver=2.0.19
+pkgrel=1
 pkgdesc="Tools and library for mISDN"
 arch=('i686' 'x86_64')
 url="http://www.misdn.org"
 license=('GPL')
+makedepends=('git')
 depends=('isdn4k-utils' 'spandsp')
 backup=('etc/capi20.conf') 
 options=('!makeflags' '!strip')
-source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz
+source=(misdnuser::git+git://git.misdn.eu/mISDNuser.git#tag=v${pkgver}
         mISDNcapid.service
         c2faxrecv-mISDNcapid.service
-        mISDNcapid.conf
-        fix-compile-gcc48.patch)
+        mISDNcapid.conf)
 
-prepare() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  # fix gcc48 compile error
-  patch -Np1 -i ${srcdir}/fix-compile-gcc48.patch
-}
-
 build() {
   # only enable for debugging!
   #export CFLAGS+=" -g -O0"
   #export CXXFLAGS+=" -g -O0"
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}
   make
-  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --enable-capi --enable-softdsp --with-mISDN_group=uucp
+  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --enable-capi --enable-softdsp --with-mISDN_group=uucp --localstatedir=/var
   make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}
   make DESTDIR=${pkgdir} install
   # fix udev rule
   mkdir -p ${pkgdir}/usr/lib/udev/rules.d
@@ -48,8 +42,7 @@
   install -D -m644 ${srcdir}/c2faxrecv-mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/c2faxrecv-mISDNcapid.service
   install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf
 }
-md5sums=('4cdb52f2c0ff1a1426573ac5ef09e9f8'
+md5sums=('SKIP'
          'bfd47480a54b41394ba5cc3f53587130'
          '32ead7f063e007c784aa883d441f33c2'
-         '42c3b46880a68c3883ee1ed00af34b45'
-         'b291e9a04378decec33c420a62a5a4b7')
+         '42c3b46880a68c3883ee1ed00af34b45')


More information about the arch-commits mailing list