summaryrefslogtreecommitdiffstats
path: root/abs/core/ncid/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-08-16 17:48:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-08-16 17:59:13 (GMT)
commit10b538e37e37825b86b023ebec6344fe654e88aa (patch)
treeeee04421b67429a86c08896ee6838384616edbee /abs/core/ncid/PKGBUILD
parentfaeb656ff58332ea2a2e4a6cac420e6cc2707352 (diff)
downloadlinhes_pkgbuild-10b538e37e37825b86b023ebec6344fe654e88aa.zip
linhes_pkgbuild-10b538e37e37825b86b023ebec6344fe654e88aa.tar.gz
linhes_pkgbuild-10b538e37e37825b86b023ebec6344fe654e88aa.tar.bz2
ncid: .89
refs #961
Diffstat (limited to 'abs/core/ncid/PKGBUILD')
-rwxr-xr-xabs/core/ncid/PKGBUILD22
1 files 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'