Create package.yml

This commit is contained in:
Andrew 2023-05-10 18:15:23 +03:00 committed by Jacob Heider
parent f865231838
commit 860b28ccea

View file

@ -0,0 +1,26 @@
distributable:
url: https://files.phpmyadmin.net/phpMyAdmin/{{version}}/phpMyAdmin-{{version}}-all-languages.tar.gz
strip-components: 1
display-name: phpMyAdmin
versions:
url: https://www.phpmyadmin.net/files/
match: /phpMyAdmin-\d+\.\d+\.\d+\-all-languages.zip/
strip:
- /^phpMyAdmin-/
- /-all-languages.zip$/
dependencies:
php.net: '*'
build:
script: |
mkdir -p {{prefix}}/share
mv ./* {{prefix}}/share
test:
dependencies:
php.net: '*'
script:
php {{prefix}}/share/index.php