2022-05-20 02:05:22 +02:00

30 lines
819 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=libbaseencode
pkgver=1.0.14
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="
a327997279567f72d7253417d64ba264117ce09c78630d98ecadcec090ffd85fbfb636515121b58f422ec421fa4e973a1e7851de20e512812f835a377de5581d libbaseencode-1.0.14.tar.gz
"