From 8213966b8a81aa98d1a73ed0eb23e42fbfa4837b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 30 May 2014 17:32:26 +0200 Subject: [PATCH] New packages: void-repo-multilib{,-nonfree}, will be used by the upcoming xbps-0.37. --- srcpkgs/void-repo-multilib-nonfree | 1 + srcpkgs/void-repo-multilib/template | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 120000 srcpkgs/void-repo-multilib-nonfree create mode 100644 srcpkgs/void-repo-multilib/template diff --git a/srcpkgs/void-repo-multilib-nonfree b/srcpkgs/void-repo-multilib-nonfree new file mode 120000 index 00000000000..bc146679d01 --- /dev/null +++ b/srcpkgs/void-repo-multilib-nonfree @@ -0,0 +1 @@ +void-repo-multilib \ No newline at end of file diff --git a/srcpkgs/void-repo-multilib/template b/srcpkgs/void-repo-multilib/template new file mode 100644 index 00000000000..2e97d6d8876 --- /dev/null +++ b/srcpkgs/void-repo-multilib/template @@ -0,0 +1,26 @@ +# Template file for 'void-repo-multilib' +pkgname=void-repo-multilib +version=1 +revision=1 +build_style=meta +only_for_archs="x86_64" +short_desc="Void Linux drop-in file for the multilib repository" +maintainer="Juan RP " +license="Public Domain" +homepage="http://www.voidlinux.eu" + +do_install() { + vmkdir usr/share/xbps/repo.d + for f in multilib multilib-nonfree; do + echo "repository=http://repo.voidlinux.eu/current/${f/-/\/}" > \ + ${DESTDIR}/usr/share/xbps/repo.d/${f}.conf + done +} + +void-repo-multilib-nonfree_package() { + short_desc="${short_desc/multilib/multilib\/nonfree/}" + pkg_install() { + vmove usr/share/xbps/repo.d/multilib-nonfree.conf + } +} +