summaryrefslogtreecommitdiff
path: root/extra/libguess/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libguess/PKGBUILD')
-rw-r--r--extra/libguess/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/libguess/PKGBUILD b/extra/libguess/PKGBUILD
new file mode 100644
index 000000000..d3f7e0cef
--- /dev/null
+++ b/extra/libguess/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Kemka Andrey <dr.andru@gmail.com>
+
+pkgname=libguess
+pkgver=1.0
+pkgrel=2
+pkgdesc='High-speed character set detection library'
+arch=('i686' 'x86_64')
+url='http://atheme.org/project/libguess'
+license=('BSD')
+depends=('libmowgli' 'glibc')
+source=("http://distfiles.atheme.org/libguess-$pkgver.tgz")
+sha1sums=('b5324b4840176324576eb91d401e5f9e1322feec')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -D COPYING "$pkgdir"/usr/share/licenses/libguess/COPYING
+}