From 673e8b1c409d2cef59231396a8b558bbca13af40 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 19 Mar 2018 17:46:55 +0100 Subject: [PATCH] upower: add transitional upower0 package --- srcpkgs/upower/template | 10 +++++++++- srcpkgs/upower0 | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/upower0 diff --git a/srcpkgs/upower/template b/srcpkgs/upower/template index 97df8a84f2..cfbb8c1531 100644 --- a/srcpkgs/upower/template +++ b/srcpkgs/upower/template @@ -1,7 +1,7 @@ # Template file for 'upower' pkgname=upower version=0.99.7 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --with-backend=linux" hostmakedepends="pkg-config intltool libxslt docbook-xsl $(vopt_if gir gobject-introspection)" @@ -13,6 +13,7 @@ license="GPL-2" homepage="http://upower.freedesktop.org" distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz" checksum=24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc140a401 +replaces="upower0>=0" # Package build options build_options="gir" @@ -39,3 +40,10 @@ upower-devel_package() { vmove "usr/lib/*.so" } } + +upower0_package() { + build_style=meta + noarch=yes + depends="upower>=$version" + short_desc+=" - transitional dummy package" +} diff --git a/srcpkgs/upower0 b/srcpkgs/upower0 new file mode 120000 index 0000000000..9df007da7f --- /dev/null +++ b/srcpkgs/upower0 @@ -0,0 +1 @@ +upower \ No newline at end of file