Created
December 5, 2009 15:50
-
-
Save sebnow/249724 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: foo | |
version: 1.0 | |
release: 1 | |
summary: A fictional package to show the YAML package format | |
description: > | |
This package is an example of the YAML universal package format, which | |
aims to be portable and extandable. This description can be as long as | |
it needs to be. | |
architectures: # Values denote architectures supported by this package | |
any: | |
sources: # URIs of source files, such as a source tarball | |
- uri: http://www.foo.org/{{name}}-{{version}}.tar.gz | |
checksums: # keys denote algorithm, values are the checksums | |
md5: fd085a845298afb36f6676feac855e63 | |
sha1: e19f73b340aeae43b98908006094af62e0c7b5b9 | |
- uri: shared_data-{{version}}.tar.gz | |
checksums: | |
md5: 2edd3a155dcbb6632029accd2926d33b | |
sha1: 776b13c7ff8e8b120a1ea4910a8b8b64c289e6b6 | |
extract: Yes # Whether an archive should be extracted | |
icon: foo.png # An icon for GUI package managers | |
licenses: [MIT] | |
url: http://www.foo.org | |
categories: [fictional, example] # Keywords associated with this package | |
groups: null # Allows to install a group of packages as a single target | |
requires: | |
- bar >= 2.1 | |
- eggs == 1.1.2 | |
provides: | |
- example | |
conflicts: | |
- foobar | |
optional: # Keys denote optional packages, values describe why they are | |
# optional and what features they provide | |
- eggs: To make a nice omelette | |
- spam: If you like that sort of thing... | |
extensions: # User-defined data | |
# The following is metadata used by makepkg, but not used by other | |
# common package managers. | |
options: [trip, "!docs", libtool, emptydirs, zipman] | |
backup: | |
- /etc/foo.rc | |
install: foo.install | |
build: | | |
./configure --prefix=/usr | |
make | |
make DESTDIR=$pkgdir install | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment