mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
github.com/jhford/screenresolution (#1925)
* new file: projects/github.com/jhford/screenresolution/package.yml * modified: projects/github.com/jhford/screenresolution/package.yml * fix arch strings --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
9ea2420de6
commit
d918da94e5
1 changed files with 29 additions and 0 deletions
29
projects/github.com/jhford/screenresolution/package.yml
Normal file
29
projects/github.com/jhford/screenresolution/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://github.com/jhford/screenresolution/archive/v{{version.marketing}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
display-names: screenresolution
|
||||
|
||||
versions:
|
||||
github: jhford/screenresolution/tags
|
||||
|
||||
platforms:
|
||||
- darwin
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
curl $PATCH | patch -p1 || true
|
||||
make
|
||||
make PREFIX="{{prefix}}" install
|
||||
env:
|
||||
# Adds apple silicon support
|
||||
PATCH: https://github.com/jhford/screenresolution/commit/c3c1e5c498cf2e1fbe37f90899a3d440305398bd.patch
|
||||
|
||||
provides:
|
||||
- bin/screenresolution
|
||||
|
||||
test:
|
||||
screenresolution get
|
Loading…
Reference in a new issue