upower: fix upower0 -> upower transition mess
This commit is contained in:
parent
99ec1809cb
commit
3010700a10
4 changed files with 22 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'upower'
|
||||
pkgname=upower
|
||||
version=0.99.7
|
||||
revision=3
|
||||
revision=4
|
||||
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,8 @@ license="GPL-2.0-or-later"
|
|||
homepage="http://upower.freedesktop.org"
|
||||
distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz"
|
||||
checksum=24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc140a401
|
||||
|
||||
provides="upower0-${version}_${revision}"
|
||||
replaces="upower0>=0"
|
||||
|
||||
# Package build options
|
||||
|
@ -29,6 +31,8 @@ libupower-glib3_package() {
|
|||
}
|
||||
}
|
||||
upower-devel_package() {
|
||||
provides="upower0-devel-${version}_${revision}"
|
||||
replaces="upower0-devel>=0"
|
||||
depends="dbus-glib-devel libupower-glib3>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
|
@ -40,10 +44,3 @@ upower-devel_package() {
|
|||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
upower0_package() {
|
||||
build_style=meta
|
||||
noarch=yes
|
||||
depends="upower>=$version"
|
||||
short_desc+=" - transitional dummy package"
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
upower
|
17
srcpkgs/upower0/template
Normal file
17
srcpkgs/upower0/template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'upower0'
|
||||
pkgname=upower0
|
||||
reverts="0.99.7_3 0.99.7_2"
|
||||
version=0.9.23
|
||||
revision=11
|
||||
build_style=meta
|
||||
depends="upower>=${version}_${revision}"
|
||||
short_desc="Abstraction for enumerating power devices (transitional dummy package)"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="https://upower.freedesktop.org"
|
||||
license="GPL-2"
|
||||
|
||||
upower0-devel_package() {
|
||||
build_style=meta
|
||||
short_desc+=" - development files"
|
||||
depends="upower-devel>=${version}_${revision}"
|
||||
}
|
Loading…
Reference in a new issue