-
Notifications
You must be signed in to change notification settings - Fork 3
/
php71-timezonedb.json
33 lines (33 loc) · 1.53 KB
/
php71-timezonedb.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"homepage": "https://pecl.php.net/package/timezonedb",
"version": "2017.2",
"license": "http://www.php.net/license/3_01.txt",
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/timezonedb/2017.2/php_timezonedb-2017.2-7.1-ts-vc14-x64.zip",
"hash": "81559c1e8316026521063a9cd4c2c3e1c3db7687dcb90d770742db4d8e14810b"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/timezonedb/2017.2/php_timezonedb-2017.2-7.1-ts-vc14-x86.zip",
"hash": "9ad8e08cd1da68d68a4449c84890fb8c1f1182a85f04fb0992edfd28a348cf05"
}
},
"depends": [
"php"
],
"post_install": "$phpconfd = \"$persist_dir\\..\\php\\cli\\conf.d\"; if((test-path $phpconfd)) { echo \"Enabling extension $(Convert-Path $phpconfd)\\timezonedb.ini\"; echo \"extension=$dir\\php_timezonedb.dll\" | sc \"$phpconfd\\timezonedb.ini\"; echo \"Remove-Item '$(Convert-Path $phpconfd)\\timezonedb.ini'\" | sc \"$dir\\uninstall.ps1\" } else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_timezonedb.dll manually!\" }",
"checkver": "timezonedb/([\\d.]+)/windows",
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/timezonedb/$version/php_timezonedb-$version-7.1-ts-vc14-x64.zip"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/timezonedb/$version/php_timezonedb-$version-7.1-ts-vc14-x86.zip"
}
}
},
"uninstaller": {
"file": "uninstall.ps1"
}
}