diff --git a/srcpkgs/sdb-devel b/srcpkgs/sdb-devel new file mode 120000 index 00000000000..a1b00d5ccfd --- /dev/null +++ b/srcpkgs/sdb-devel @@ -0,0 +1 @@ +sdb \ No newline at end of file diff --git a/srcpkgs/sdb/sdb-devel.template b/srcpkgs/sdb/sdb-devel.template new file mode 100644 index 00000000000..256fc2a42aa --- /dev/null +++ b/srcpkgs/sdb/sdb-devel.template @@ -0,0 +1,14 @@ +# Template file for 'sdb-devel'. +# +depends="vala sdb>=${version}" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr + vmove usr/share usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/sdb/template b/srcpkgs/sdb/template new file mode 100644 index 00000000000..77227b39d70 --- /dev/null +++ b/srcpkgs/sdb/template @@ -0,0 +1,22 @@ +# Template file for 'sdb' +pkgname=sdb +version="$(date -u +%Y%m%d)" +revision=1 +build_style=gnu-makefile +short_desc="A Simple database" +maintainer="pancake " +license="GPL-3" +homepage="https://github.com/radare/sdb" +long_desc=" + sdb is a simple key/value database with disk storage. mcsdbd is a memcache + server with disk storage based on sdb. sdbtypes is a vala library that + implements several data structures on top of an sdb or memcache instance." + +nofetch=yes +noextract=yes +makedepends="git vala-devel" +subpackages="sdb-devel" + +do_fetch() { + git clone git://github.com/radare/sdb.git sdb-${version} +}