add PROVIDES and REPLACES in build
This commit is contained in:
parent
571095572c
commit
ae90194906
|
@ -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"
|
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>"
|
MAINTAINER: "Luca Bilke <luca@bil.ke>"
|
||||||
NAME: "dmenu-custom"
|
NAME: "dmenu-custom"
|
||||||
|
PROVIDES: "dmenu-5.2_1"
|
||||||
|
REPLACES: "dmenu>=0"
|
||||||
ARCH: "x86_64"
|
ARCH: "x86_64"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -42,7 +44,7 @@ jobs:
|
||||||
cd dmenu-final && make clean install DESTDIR="${GITHUB_WORKSPACE}/pkg" PREFIX="/usr"
|
cd dmenu-final && make clean install DESTDIR="${GITHUB_WORKSPACE}/pkg" PREFIX="/usr"
|
||||||
|
|
||||||
- name: Create package
|
- name: Create package
|
||||||
run : |
|
run: |
|
||||||
set -xeu
|
set -xeu
|
||||||
export XBPS_TARGET_ARCH=${{ env.ARCH }}
|
export XBPS_TARGET_ARCH=${{ env.ARCH }}
|
||||||
mkdir /target
|
mkdir /target
|
||||||
|
@ -54,6 +56,8 @@ jobs:
|
||||||
-m "${{ env.MAINTAINER }}" \
|
-m "${{ env.MAINTAINER }}" \
|
||||||
-s "${{ env.SHORT_DESCRIPTION }}" \
|
-s "${{ env.SHORT_DESCRIPTION }}" \
|
||||||
-D "${{ env.DEPENDENCIES }}" \
|
-D "${{ env.DEPENDENCIES }}" \
|
||||||
|
-R "${{ env.REPLACES }}" \
|
||||||
|
-P "${{ env.PROVIDES }}" \
|
||||||
"${GITHUB_WORKSPACE}/pkg"
|
"${GITHUB_WORKSPACE}/pkg"
|
||||||
|
|
||||||
- name: Push Package
|
- name: Push Package
|
||||||
|
|
Loading…
Reference in New Issue