mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-18 22:32:28 +01:00
30 lines
819 B
Plaintext
30 lines
819 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=libbaseencode
|
|
pkgver=1.0.12
|
|
pkgrel=0
|
|
pkgdesc="Library for encoding decoding data use base32 or base64"
|
|
url="https://github.com/paolostivanin/libbaseencode"
|
|
license="Apache-2.0"
|
|
arch="all"
|
|
makedepends="cmake"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/paolostivanin/libbaseencode/archive/v$pkgver.tar.gz"
|
|
options="!check" # no working testsuite
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
b6a03bf9ceaf843e1bd7c23a42966b2a038e655661c5ff77846c87b12472c2864e1fb44b9747c9c79eeb24efd2d5df07aa27090e40cb0c8dbcec3f9bbebded33 libbaseencode-1.0.12.tar.gz
|
|
"
|