mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-13 20:52:20 +01:00
27 lines
779 B
Plaintext
27 lines
779 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=libbaseencode
|
|
pkgver=1.0.11
|
|
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="d680437a14b0993b118200fe7e65c5f60baaffa9fe574adb217926746b49efdabd9d1c96f93f1c5d076c0785947ee2e40823b53fc5e2127604ce1827969bead2 libbaseencode-1.0.11.tar.gz"
|