From 2c47496efb17a0c69faac177217792845b65c1cb Mon Sep 17 00:00:00 2001 From: mobinmob Date: Thu, 29 Nov 2018 18:59:31 +0200 Subject: [PATCH] New package: tokyocabinet-1.4.48 --- common/shlibs | 1 + srcpkgs/tokyocabinet-devel | 1 + srcpkgs/tokyocabinet/template | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 120000 srcpkgs/tokyocabinet-devel create mode 100644 srcpkgs/tokyocabinet/template diff --git a/common/shlibs b/common/shlibs index 037c50c9b4..51ffdfc880 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3347,3 +3347,4 @@ libcsfml-graphics.so.2.5 CSFML-2.5_1 libcsfml-window.so.2.5 CSFML-2.5_1 libcsfml-system.so.2.5 CSFML-2.5_1 libcsfml-network.so.2.5 CSFML-2.5_1 +libtokyocabinet.so.9 tokyocabinet-1.4.48_1 diff --git a/srcpkgs/tokyocabinet-devel b/srcpkgs/tokyocabinet-devel new file mode 120000 index 0000000000..eabbe2d325 --- /dev/null +++ b/srcpkgs/tokyocabinet-devel @@ -0,0 +1 @@ +tokyocabinet \ No newline at end of file diff --git a/srcpkgs/tokyocabinet/template b/srcpkgs/tokyocabinet/template new file mode 100644 index 0000000000..8a459583c7 --- /dev/null +++ b/srcpkgs/tokyocabinet/template @@ -0,0 +1,30 @@ +# Template file for 'tokyocabinet' +pkgname=tokyocabinet +version=1.4.48 +revision=1 +build_style=gnu-configure +makedepends="zlib-devel bzip2-devel" +short_desc="Modern implementation of DBM" +maintainer="mobinmob " +license="LGPL-2.1-only" +homepage="https://fallabs.com/tokyocabinet/" +distfiles="https://fallabs.com/tokyocabinet/tokyocabinet-${version}.tar.gz" +checksum=a003f47c39a91e22d76bc4fe68b9b3de0f38851b160bbb1ca07a4f6441de1f90 + +post_install() { + vlicense "$DESTDIR"/usr/share/tokyocabinet/COPYING + rm -f "$DESTDIR"/usr/share/tokyocabinet/COPYING + rm -r "$DESTDIR/usr/share/tokyocabinet/doc" +} + +tokyocabinet-devel_package() { + depends="$makedepends tokyocabinet-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove usr/include + vmove usr/share/man/man3 + vmove "usr/lib/*.so" + } +}