diff --git a/srcpkgs/xbps-devel-static b/srcpkgs/xbps-devel-static new file mode 120000 index 0000000000..bc58c7d706 --- /dev/null +++ b/srcpkgs/xbps-devel-static @@ -0,0 +1 @@ +xbps-devel \ No newline at end of file diff --git a/srcpkgs/xbps-devel/template b/srcpkgs/xbps-devel/template index 0247bb718c..e141c015f3 100644 --- a/srcpkgs/xbps-devel/template +++ b/srcpkgs/xbps-devel/template @@ -11,6 +11,7 @@ long_desc=" binary package manager. This packages includes code from a development branch available from https://launchpad.net/xbps" +subpackages="$pkgname-static" replaces="xbps" nofetch=yes noextract=yes diff --git a/srcpkgs/xbps-devel/xbps-devel-static.template b/srcpkgs/xbps-devel/xbps-devel-static.template new file mode 100644 index 0000000000..37139711ee --- /dev/null +++ b/srcpkgs/xbps-devel/xbps-devel-static.template @@ -0,0 +1,14 @@ +# Template file for 'bzip2-devel'. +# +short_desc="${sourcepkg} static binaries" +long_desc="${long_desc} + + This package contains the static binaries and library, that can be + used on any GNU/Linux distribution matching the architecture." + +do_install() +{ + mkdir -p ${DESTDIR}/sbin ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/sbin/*.static ${DESTDIR}/sbin + mv ${SRCPKGDESTDIR}/lib/*.a ${DESTDIR}/usr/lib +}