updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / huffman / PKGBUILD
blob920eae677db15c771fadc27efcf8a1c4274def0e
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Maintainer: Laszlo Papp <djszapi2 at gmail.com>
4 pkgname=huffman
5 pkgver=1.1
6 pkgrel=1
7 pkgdesc="A library and a command line program for Huffman encoding and decoding"
8 arch=('i686' 'x86_64')
9 url="http://huffman.sourceforge.net/"
10 license=('BSD')
11 depends=('glibc')
12 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('419dae94887ad4dcc04d1b7c0869db87')
15 build() {
16   cd "$srcdir"/$pkgname
17   make || return 1
18   install -Dm755 huffcode "$pkgdir"/usr/bin/huffcode
19   install -Dm644 libhuffman.a "$pkgdir"/usr/lib/libhuffman.a
20   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE