summaryrefslogtreecommitdiff
path: root/testing/bobcat/APKBUILD
blob: 5cba65aa261735581ed2d961fc85f85bc9e898f1 (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
36
37
38
39
40
41
42
43
44
# Contributor: Shiz <hi@shiz.me>
# Maintainer: Shiz <hi@shiz.me>
pkgname=bobcat
pkgver=4.07.00
pkgrel=0
pkgdesc="Brokken's Own Base Classes And Templates"
url="https://fbb-git.github.io/bobcat/"
arch="all"
license="GPL2+"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="icmake bash yodl"
subpackages="$pkgname-doc $pkgname-dev"
options="!check"  # no tests provided by upstream.
source="bobcat-$pkgver.tar.gz::https://github.com/fbb-git/bobcat/archive/$pkgver.tar.gz
	dont-use-reserved-name-for-page-size.patch
	avoid-gnuisms.patch
	avoid-strerror_r.patch
	libressl-compatibility.patch"
builddir="$srcdir/bobcat-$pkgver/bobcat"

prepare() {
	default_prepare

	cd "$builddir"
	sed -i '/^#define DOC/d' INSTALL.im
	echo '#define DOC "/usr/share/doc/bobcat"' >> INSTALL.im
}

build() {
	cd "$builddir"
	./build light strip
	./build man
}

package() {
	cd "$builddir"
	./build install hlm "$pkgdir"
}

sha512sums="7df9ead07f9a46d146afb3c527ef574eb833adfe65d3ace6f3805dbb0cfc722071dbe095e079a4286be6e07fb5ca2ef9dc37b42afade1ef4bc0f5c09ce88c72a  bobcat-4.07.00.tar.gz
6521da77c2452fb2c4b209c24e5dae04650636224efe5e75e2f2e64ab1c6457392ad4cdc4afbe79526734c8211488b2dc5915210ee7af646e7d0af04579cd484  dont-use-reserved-name-for-page-size.patch
24eb74e7dab68cb70f89459228f0f302a5214f8d45bc31e38a8d608edfa97cfe61710212fface32fc480fc4ef2fb23bbca7ed806dd40330e6da69774b3d1965d  avoid-gnuisms.patch
1129bb0666f6809ab2cca60bb164f4c557be7d27db84e41712643ee5027b8c7b62bc82e8f1c5fa9a1e737e487fe58f163afd6687d94fbacb9a23ad7818851cf0  avoid-strerror_r.patch
02f3ca5a42d64f2831a3357b24cdc6d706f8ff26d38d87a36695f65f02730d06fb759f3d8ccb9accf93cca166954c80968ba31d16cdae3823478f7dbc917fb40  libressl-compatibility.patch"