From 0d1e78f466a001bfd56e2bf3ca98156267593482 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Nov 2014 11:51:03 +0100 Subject: [PATCH] sdb: update to 0.9.2. --- srcpkgs/sdb/template | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/srcpkgs/sdb/template b/srcpkgs/sdb/template index 793d43643aa..1b1b0c74d14 100644 --- a/srcpkgs/sdb/template +++ b/srcpkgs/sdb/template @@ -1,7 +1,7 @@ # Template file for 'sdb' pkgname=sdb -version=0.7.1 -revision=2 +version=0.9.2 +revision=1 build_style=gnu-makefile hostmakedepends="pkg-config git" makedepends="libglib-devel vala-devel" @@ -9,15 +9,12 @@ short_desc="Simple key-value database with JSON support" maintainer="Juan RP " license="LGPL-3" homepage="https://github.com/radare/sdb" - -do_fetch() { - git clone -b ${version} git://github.com/radare/sdb.git sdb-${version} -} +distfiles="http://radare.org/get/sdb-${version}.tar.gz" +checksum=8cd08d78e292fcb6ce4ffa7419e600a7f2cc3482e0f39b164279d440ad29026d post_install() { - # Create shlib symlinks. - ln -sfr ${DESTDIR}/usr/lib/libsdb.so.0.0.0 ${DESTDIR}/usr/lib/libsdb.so - ln -sfr ${DESTDIR}/usr/lib/libsdb.so.0.0.0 ${DESTDIR}/usr/lib/libsdb.so.0 + # create soname symlink + ln -s libsdb.so.${version} ${DESTDIR}/usr/lib/libsdb.so.0 } sdb-devel_package() {