diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-12-14 17:04:26 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-12-14 17:06:29 +0200 |
commit | fca1c30b801537ce35c1e4aa50331ae52c9bf567 (patch) | |
tree | cc672d5bf3e1b6811aaff7d00ec49e14eae954c3 /src/apk_package.h | |
parent | 6e34f048c7e200a56761e19fea7801dbfa4b0e27 (diff) | |
download | apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.gz apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.bz2 apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.xz apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.zip |
pkg, db: add preliminary support for arch field
Architecture is now:
- parsed from .PKGINFO
- written to index and installed db
- appended to repository URL when fetching files
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index 55f6845..8ba1ffe 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -85,7 +85,7 @@ struct apk_package { apk_hash_node hash_node; unsigned repos; struct apk_name *name; - char *version; + char *version, *arch; char *url, *description, *license; struct apk_dependency_array *depends; size_t installed_size, size; |