summaryrefslogtreecommitdiffstats
path: root/abs/core/ncid/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-05-10 20:06:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-05-10 20:06:06 (GMT)
commit2b532b540f448f02d7aee7ff04fa3d31655e7f8f (patch)
tree61dc3cbb6ce683a7d9d5fed2af090f63a086e86b /abs/core/ncid/PKGBUILD
parent42ae9b94604db5f6bd515863e0ffd3a44b6c866e (diff)
downloadlinhes_pkgbuild-2b532b540f448f02d7aee7ff04fa3d31655e7f8f.zip
linhes_pkgbuild-2b532b540f448f02d7aee7ff04fa3d31655e7f8f.tar.gz
linhes_pkgbuild-2b532b540f448f02d7aee7ff04fa3d31655e7f8f.tar.bz2
ncid: reintroduction to repo
Diffstat (limited to 'abs/core/ncid/PKGBUILD')
-rw-r--r--abs/core/ncid/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/abs/core/ncid/PKGBUILD b/abs/core/ncid/PKGBUILD
new file mode 100644
index 0000000..9a468e8
--- /dev/null
+++ b/abs/core/ncid/PKGBUILD
@@ -0,0 +1,39 @@
+pkgname=ncid
+pkgver=0.83
+pkgrel=1
+pkgdesc="daemon to display callerid"
+url="http://ncid.sourceforge.net/"
+license=""
+depends=(python)
+makedepends=()
+conflicts=()
+replaces=()
+backup=()
+arch=('i686')
+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.py ncidpermissions.sql ncid.sql ncid-linhes)
+
+build() {
+ cd $startdir/src/$pkgname
+# ./configure --prefix=/usr
+ make clean
+ make package || return 1
+ }
+package(){
+ cd $startdir/src/$pkgname
+ #sed out MakeFILE
+
+ sed -i "s|^.*\$(MAKE) install prefix=/usr prefix2=|\t\$(MAKE) install prefix=${pkgdir}/usr prefix2=$pkgdir|" Makefile
+ make package-install
+ install -m 755 $startdir/src/ncid-linhes $startdir/pkg/usr/share/ncid
+ install -m 755 $startdir/src/ncid.py $startdir/pkg/usr/bin
+ 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
+}
+md5sums=('710de8ab6d61ae48bd6e6ba159e95222'
+ 'd4d51f0025baae4d6e0cd51d9dbd3a11'
+ '7655255b35a4fcdc0645c4f9018c1ed1'
+ 'dbb9688e9af3fe60a0082c81db067d4a'
+ 'dfb2f34dc6102f35765acb7aa881ec89')