summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/libtextcat/PKGBUILD31
1 files changed, 0 insertions, 31 deletions
diff --git a/community/libtextcat/PKGBUILD b/community/libtextcat/PKGBUILD
deleted file mode 100644
index 1c16a8f0f..000000000
--- a/community/libtextcat/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 3771 2009-10-08 20:16:09Z ibiru $
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=libtextcat
-pkgver=2.2
-pkgrel=6
-pkgdesc="Library that implements N-gram-based text categorization"
-arch=('i686' 'x86_64')
-url="http://software.wise-guys.nl/libtextcat/"
-license=('BSD')
-depends=('glibc')
-options=(!libtool)
-source=(http://software.wise-guys.nl/download/$pkgname-$pkgver.tar.gz)
-md5sums=('128cfc86ed5953e57fe0f5ae98b62c2e')
-
-build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
-
- install -D -m644 src/textcat.h $startdir/pkg/usr/include/textcat.h
- mkdir -p $startdir/pkg/usr/share/libtextcat/{LM,ShortTexts}
- install -m644 langclass/conf.txt $startdir/pkg/usr/share/libtextcat
- install -m644 langclass/LM/*.lm $startdir/pkg/usr/share/libtextcat/LM
- install -m644 langclass/ShortTexts/*.txt $startdir/pkg/usr/share/libtextcat/ShortTexts
-
- install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
- sed -i 's|LM|/usr/share/libtextcat/LM|' ${pkgdir}/usr/share/libtextcat/conf.txt
-}