aboutsummaryrefslogtreecommitdiffstats
path: root/community/libowfat/APKBUILD
blob: e24489e72846dea7720aabfe14e484bac94647f2 (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
31
32
33
34
35
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net"
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libowfat
pkgver=0.31
pkgrel=0
pkgdesc="Reimplementation of libdjbr"
url="http://www.fefe.de/libowfat/"
arch="all"
license="GPL"
depends=""
makedepends=""
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.fefe.de/$pkgname/$pkgname-$pkgver.tar.xz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make CFLAGS="-I. ${CFLAGS}" || return 1
}

package() {
	cd "$builddir"
	make prefix="$pkgdir"/usr \
		MAN3DIR="$pkgdir"/usr/share/man/man3 \
		install || return 1

	# buffer manpage conflicts with openssl
	mv "$pkgdir"/usr/share/man/man3/buffer.3 \
		"$pkgdir"/usr/share/man/man3/owfatbuffer.3
}

md5sums="120798fab86cfd72dc6b12284d248dd0  libowfat-0.31.tar.xz"
sha256sums="d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12  libowfat-0.31.tar.xz"
sha512sums="b3ce973d6edc501ddaa6caa84dc3b74e3e31ced92e4f707038858cd36c977863251a7eaeababdad34ffe6b8ad13c9702118464f6f9fd827e05f6fbc5004408b5  libowfat-0.31.tar.xz"