New package: tokyocabinet-1.4.48

This commit is contained in:
mobinmob 2018-11-29 18:59:31 +02:00 committed by maxice8
parent 1cc9e7e89f
commit 2c47496efb
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
3 changed files with 32 additions and 0 deletions

View file

@ -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

1
srcpkgs/tokyocabinet-devel Symbolic link
View file

@ -0,0 +1 @@
tokyocabinet

View file

@ -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 <mobinmob@disroot.org>"
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"
}
}