summaryrefslogtreecommitdiffstats
path: root/testing/chmlib/APKBUILD
blob: 3f6d18131452519b1bd9e06ddb6274dc219dbb0c (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
26
27
28
29
30
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chmlib
pkgver=0.40
pkgrel=1
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
arch="all"
license="LGPL2+"
depends=""
depends_dev=
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="7ea49ed8c335215c1edc6fae83e6b912  chmlib-0.40.tar.bz2"