diff options
Diffstat (limited to 'testing/yyjson/APKBUILD')
-rw-r--r-- | testing/yyjson/APKBUILD | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/testing/yyjson/APKBUILD b/testing/yyjson/APKBUILD deleted file mode 100644 index 6f9488c0738..00000000000 --- a/testing/yyjson/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Grigory Kirillov <txgk@bk.ru> -# Maintainer: Grigory Kirillov <txgk@bk.ru> -pkgname=yyjson -pkgver=0.4.0 -pkgrel=0 -pkgdesc="The fastest JSON library in C" -url="https://github.com/ibireme/yyjson" -# lack of support for 32-bit arches -arch="all !x86 !armv7 !armhf !s390x" -license="MIT" -makedepends="cmake samurai" -subpackages="$pkgname-dev $pkgname-doc" -source=" - $pkgname-$pkgver.tar.gz::https://github.com/ibireme/yyjson/archive/refs/tags/$pkgver.tar.gz - cmake-add-soname.patch - " - -build() { - cmake -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ - -DBUILD_SHARED_LIBS=ON \ - -DYYJSON_BUILD_TESTS=ON - cmake --build build -} - -check() { - ctest --output-on-failure --test-dir build -} - -package() { - DESTDIR="$pkgdir" cmake --install build - ln -sf libyyjson.so."$pkgver" "$pkgdir"/usr/lib/libyyjson.so."${pkgver%%.*}" - ln -sf libyyjson.so."$pkgver" "$pkgdir"/usr/lib/libyyjson.so - install -Dm644 README.md "$pkgdir"/usr/share/doc/yyjson/README.md - install -Dm644 doc/API.md "$pkgdir"/usr/share/doc/yyjson/API.md - install -Dm644 doc/Building.md "$pkgdir"/usr/share/doc/yyjson/Building.md - install -Dm644 doc/DataStructure.md "$pkgdir"/usr/share/doc/yyjson/DataStructure.md - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/yyjson/LICENSE -} - -sha512sums=" -0d5824158f7491926e6d2a1fd1a1e637fdb2ce5a6bd1ec88301231dd567345295751c1e8f12f8a1ffc7179970081cf50b97301691a47ae5d418331f0d41479ce $pkgname-$pkgver.tar.gz -344c49917dffc31d35bc8787d33ea5fee78194cec1972fdbd5a85a4baf3f2f96c38018ab919adaaf85a95746bc81c8afa54ce0fa6242b8a97cce3bb4393eb02d cmake-add-soname.patch -" |