From 10b538e37e37825b86b023ebec6344fe654e88aa Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 16 Aug 2014 12:48:09 -0500 Subject: ncid: .89 refs #961 --- abs/core/ncid/PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/abs/core/ncid/PKGBUILD b/abs/core/ncid/PKGBUILD index 6e09ef8..867e9c4 100755 --- a/abs/core/ncid/PKGBUILD +++ b/abs/core/ncid/PKGBUILD @@ -1,5 +1,5 @@ pkgname=ncid -pkgver=0.84 +pkgver=0.89 pkgrel=1 pkgdesc="daemon to display callerid" url="http://ncid.sourceforge.net/" @@ -12,7 +12,7 @@ backup=() arch=('i686' 'x86_64' ) install=ncid.install #source=(http://voxel.dl.sourceforge.net/project/ncid/ncid/$pkgver/$pkgname-$pkgver-src.tar.gz ncidd.conf ncid.conf ncid.py ncidpermissions.sql ncid.sql) -source=(http://voxel.dl.sourceforge.net/project/ncid/ncid/$pkgver/$pkgname-$pkgver-src.tar.gz ncid-log.py ncidpermissions.sql ncid.sql ncid-linhes) +source=(http://downloads.sourceforge.net/project/ncid/ncid/$pkgver/$pkgname-$pkgver-src.tar.gz ncid-log.py ncidpermissions.sql ncid.sql ncid-linhes) #must be built with -j 1 build() { cd $startdir/src/$pkgname @@ -25,16 +25,20 @@ package(){ #sed out MakeFILE sed -i "s|^.*\$(MAKE) install prefix=/usr prefix2=|\t\$(MAKE) install prefix=${pkgdir}/usr prefix2=$pkgdir|" Makefile - #sed -i "s|^.*\$(MAKE) install prefix=/usr prefix2=|\t\$(MAKE) install prefix=${pkgdir}/usr prefix2=|" Makefile + sed -i "s|/sbin$|/bin|" Makefile + + mkdir -p ${pkgdir}/etc make package-install - install -m 755 $startdir/src/ncid-linhes $startdir/pkg/usr/share/ncid - install -m 755 $startdir/src/ncid-log.py $startdir/pkg/usr/bin/ncid-log.py - install -m 755 -D $startdir/src/ncid.sql $startdir/pkg/tmp/ncid.sql - install -m 755 -D $startdir/src/ncidpermissions.sql $startdir/pkg/tmp/ncidpermissions.sql - chmod 777 $startdir/pkg/tmp + install -m 755 $startdir/src/ncid-linhes $pkgdir/usr/share/ncid + install -m 755 $startdir/src/ncid-log.py $pkgdir/usr/bin/ncid-log.py + install -m 755 -D $startdir/src/ncid.sql $pkgdir/tmp/ncid.sql + install -m 755 -D $startdir/src/ncidpermissions.sql $pkgdir/tmp/ncidpermissions.sql + mv $pkgdir/usr/sbin/* $pkgdir/usr/bin + rmdir $pkgdir/usr/sbin + chmod 777 $pkgdir/tmp } -md5sums=('4451cb67bd13899e3f98aeda8d8e4f40' +md5sums=('a19dfd40447503941db0e5f9ed4d8365' 'd921bc210d5fa63855edd6c0e0102f68' '7655255b35a4fcdc0645c4f9018c1ed1' 'b7a95f89fe5cb46e50ff25df7adc18b4' -- cgit v0.12