summaryrefslogtreecommitdiff
path: root/extra/libguess/PKGBUILD
blob: 917b5fe70e86a9eed2990348658fb09c9b9f3f6a (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' 'mips64el')
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
}