aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbaseencode/APKBUILD
blob: ae448e6e98bdb8af4302fdb0c5b217d0134b4e0d (plain) (blame)
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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=libbaseencode
pkgver=1.0.9
pkgrel=0
pkgdesc="Library for encoding decoding data use base32 or base64"
options="!check" # No woerking testsuite
url="https://github.com/paolostivanin/libbaseencode"
arch="all"
license="Apache-2.0"
makedepends="cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/paolostivanin/libbaseencode/archive/v$pkgver.tar.gz"

build() {
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=Release
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="26f3c8db6d72aad77fab9d6cdfe94e39891d7afff44d30af79926af72f1af97b8108a8226f376bd0bd3c8c02167a512604c7a52d16a8bce4167a7bdd4a2e603f  libbaseencode-1.0.9.tar.gz"