add PROVIDES and REPLACES in build

This commit is contained in:
Luca Bilke 2024-05-15 17:25:41 +02:00
parent 571095572c
commit ae90194906
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 5 additions and 1 deletions

View File

@ -18,6 +18,8 @@ jobs:
DEPENDENCIES: "pango>=1.44,glibc>=2.32,libX11>=1.2,libXft>=2.3.8,libXinerama>=1.0.3,fontconfig>=2.6.0"
MAINTAINER: "Luca Bilke <luca@bil.ke>"
NAME: "dmenu-custom"
PROVIDES: "dmenu-5.2_1"
REPLACES: "dmenu>=0"
ARCH: "x86_64"
steps:
- name: Checkout
@ -42,7 +44,7 @@ jobs:
cd dmenu-final && make clean install DESTDIR="${GITHUB_WORKSPACE}/pkg" PREFIX="/usr"
- name: Create package
run : |
run: |
set -xeu
export XBPS_TARGET_ARCH=${{ env.ARCH }}
mkdir /target
@ -54,6 +56,8 @@ jobs:
-m "${{ env.MAINTAINER }}" \
-s "${{ env.SHORT_DESCRIPTION }}" \
-D "${{ env.DEPENDENCIES }}" \
-R "${{ env.REPLACES }}" \
-P "${{ env.PROVIDES }}" \
"${GITHUB_WORKSPACE}/pkg"
- name: Push Package