diff --git a/srcpkgs/rarian-devel b/srcpkgs/rarian-devel new file mode 120000 index 00000000000..424085704e3 --- /dev/null +++ b/srcpkgs/rarian-devel @@ -0,0 +1 @@ +rarian \ No newline at end of file diff --git a/srcpkgs/rarian/depends b/srcpkgs/rarian/depends new file mode 100644 index 00000000000..f38abb5aa6d --- /dev/null +++ b/srcpkgs/rarian/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.8.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/rarian/rarian-devel.template b/srcpkgs/rarian/rarian-devel.template new file mode 100644 index 00000000000..06a4c272b4d --- /dev/null +++ b/srcpkgs/rarian/rarian-devel.template @@ -0,0 +1,15 @@ +# Template file for 'rarian-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/rarian/template b/srcpkgs/rarian/template new file mode 100644 index 00000000000..3c93e07baf4 --- /dev/null +++ b/srcpkgs/rarian/template @@ -0,0 +1,27 @@ +# Template file for 'rarian' +pkgname=rarian +version=0.8.1 +distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var" +short_desc="Documentation metadata library" +maintainer="Juan RP " +checksum=aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577 +long_desc=" + Rarian is a documentation metadata library based on the proposed + Freedesktop.org spec." + +subpackages="rarian-devel" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency run bash +Add_dependency build libstdc++-devel +Add_dependency build pkg-config +Add_dependency build libxslt + +post_install() +{ + touch -f ${DESTDIR}/var/lib/rarian/.empty_on_purpose +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index bc5be4ea100..801817360e8 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -521,3 +521,4 @@ libgnomekbdui.so libgnomekbd libgnomekbd-devel libcanberra.so libcanberra libcanberra-devel libcanberra-gtk.so libcanberra libcanberra-devel libgtop-2.0.so libgtop libgtop-devel +librarian.so rarian rarian-devel