aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bobcat/APKBUILD
blob: fc8c9fe675bae650a4ca35e8136ded425f6338c9 (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.08.01
pkgrel=0
pkgdesc="Brokken's Own Base Classes And Templates"
url="https://fbb-git.github.io/bobcat/"
arch="all"
license="GPL-2.0-or-later"
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="8752392e6feb0f3caf119ebf58423dc4cb24f0cd9f421e58ba14648baf8603235bfb44c24d5ea1ecee78a52620fe3ad2936091ec47b0de924c4af00ebc8b16f1  bobcat-4.08.01.tar.gz
6521da77c2452fb2c4b209c24e5dae04650636224efe5e75e2f2e64ab1c6457392ad4cdc4afbe79526734c8211488b2dc5915210ee7af646e7d0af04579cd484  dont-use-reserved-name-for-page-size.patch
24eb74e7dab68cb70f89459228f0f302a5214f8d45bc31e38a8d608edfa97cfe61710212fface32fc480fc4ef2fb23bbca7ed806dd40330e6da69774b3d1965d  avoid-gnuisms.patch
1129bb0666f6809ab2cca60bb164f4c557be7d27db84e41712643ee5027b8c7b62bc82e8f1c5fa9a1e737e487fe58f163afd6687d94fbacb9a23ad7818851cf0  avoid-strerror_r.patch
02f3ca5a42d64f2831a3357b24cdc6d706f8ff26d38d87a36695f65f02730d06fb759f3d8ccb9accf93cca166954c80968ba31d16cdae3823478f7dbc917fb40  libressl-compatibility.patch"