summaryrefslogtreecommitdiff
path: root/extra/libguess/PKGBUILD
blob: ff26ce9a128c0247495002bc8dc23ee111725d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Kemka Andrey <dr.andru@gmail.com>

pkgname=libguess
pkgver=1.0
pkgrel=3
pkgdesc='High-speed character set detection library'
arch=('i686' 'x86_64')
url='http://atheme.org/project/libguess'
license=('BSD')
depends=('libmowgli')
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
}