wlroots0.16-devel: provides & conflicts virtual-wlroots-devel

This will easy the future -devel' conflicts
This commit is contained in:
Đoàn Trần Công Danh 2024-01-22 20:19:50 +07:00 committed by Đoàn Trần Công Danh
parent 139f797bd2
commit 3157a9430d

View file

@ -1,7 +1,7 @@
# Template file for 'wlroots0.16' # Template file for 'wlroots0.16'
pkgname=wlroots0.16 pkgname=wlroots0.16
version=0.16.2 version=0.16.2
revision=1 revision=2
build_style=meson build_style=meson
# Follow upstream packaging recommendations: # Follow upstream packaging recommendations:
# https://gitlab.freedesktop.org/wlroots/wlroots/-/wikis/Packaging-recommendations # https://gitlab.freedesktop.org/wlroots/wlroots/-/wikis/Packaging-recommendations
@ -28,7 +28,8 @@ post_install() {
wlroots0.16-devel_package() { wlroots0.16-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}" depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}"
conflicts="wlroots0.15-devel wlroots0.14-devel" provides="virtual-wlroots-devel-${version}_${revision}"
conflicts="wlroots0.15-devel wlroots0.14-devel virtual-wlroots-devel"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include