Overview
Comment: | Added support for an archive format as well as fixing date format for Fossil files |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | packages |
Files: | files | file ages | folders |
SHA1: |
36a7e12995cddac3c8a519c861457443 |
User & Date: | rkeene on 2014-11-04 00:45:39 |
Other Links: | branch diff | manifest | tags |
Context
2014-11-04
| ||
00:46 | Updated to use UTC timezone everywhere check-in: b5ddc3b45b user: rkeene tags: packages | |
00:45 | Added support for an archive format as well as fixing date format for Fossil files check-in: 36a7e12995 user: rkeene tags: packages | |
2014-11-03
| ||
23:49 | Updated to use package data from Fossil, which is more reliable check-in: 77faad55ab user: rkeene tags: packages | |
Changes
Modified build from [dcf6e62dd7] to [71498ef42a].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | + + + + + + + - + | #! /usr/bin/env bash targetmode='install' if [ "$1" == '--cpio' ]; then targetmode='archive' shift fi pkg="$(echo "$1" | sed 's@/*$@@;s@^\.*/*@@')" if [ -z "${pkg}" ]; then |
︙ | |||
55 56 57 58 59 60 61 | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | - + | } function postbuild() { : } function build() { |
︙ | |||
92 93 94 95 96 97 98 | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | - + + + + + + + + - + | fi cleanup exit 1 } |
︙ | |||
208 209 210 211 212 213 214 215 216 217 218 219 220 | 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | + + + - + + + + + + + + + + + + + | postbuild || die 'postbuild failed' preinstall || die 'preinstall failed' install || die 'install failed' postinstall || die 'postinstall failed' ( case "${targetmode}" in install) appdir="$(appfsinstalldir)/${prefixsuffix}" mkdir -p "${appdir}" cd "${destdir}/${prefix}" || exit 1 cp -rp * "${appdir}" find "${appdir}" -print0 | xargs -0 touch -t "${pkgdate}" |