| Copyright | (c) 2020-2021 berberman |
|---|---|
| License | MIT |
| Maintainer | berberman <berberman@yandex.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Distribution.ArchHs.PkgBuild
Description
Template of PKGBUILD file.
Synopsis
- data PkgBuild = PkgBuild {
- _hkgName :: String
- _pkgName :: String
- _pkgVer :: String
- _pkgDesc :: String
- _url :: String
- _license :: String
- _depends :: String
- _makeDepends :: String
- _sha256sums :: String
- _licenseFile :: Maybe String
- _enableUusi :: Bool
- _enableCheck :: Bool
- mapLicense :: LicenseId -> License
- showArchLicense :: License -> String
- applyTemplate :: PkgBuild -> String
- felixTemplate :: Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text
- metaTemplate :: Text -> Text -> Text -> Text -> Text
Documentation
PkgBuild data type, representing needed information in filling the felixTemplate.
Constructors
| PkgBuild | |
Fields
| |
mapLicense :: LicenseId -> License Source #
Map LicenseId to ArchLicense. License not provided by system will be mapped to custom:....
showArchLicense :: License -> String Source #
Show an archlinux license
applyTemplate :: PkgBuild -> String Source #
Apply PkgBuild to felixTemplate.