27 lines
779 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=libbaseencode
pkgver=1.0.10
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=None
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="31373810a5ddba4419c61c094a751ce10f695f92074606a028270cc2d3a1942acae73ddbded795794c6a2d554b4bdfca76f84bbdadab5a65cb7e671ebe95af0e libbaseencode-1.0.10.tar.gz"