| Copyright | (c) 2020 berberman |
|---|---|
| License | MIT |
| Maintainer | berberman <1793913507@qq.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
- data ArchLicense
- mapLicense :: LicenseId -> ArchLicense
- applyTemplate :: PkgBuild -> String
- felixTemplate :: Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text
Documentation
PkgBuild data type, representing needed information in filling the felixTemplate.
Constructors
| PkgBuild | |
Fields
| |
data ArchLicense Source #
Licenses available in licenses.
Instances
| Show ArchLicense Source # | |
Defined in Distribution.ArchHs.PkgBuild Methods showsPrec :: Int -> ArchLicense -> ShowS # show :: ArchLicense -> String # showList :: [ArchLicense] -> ShowS # | |
mapLicense :: LicenseId -> ArchLicense Source #
Map LicenseId to ArchLicense. License not provided by system will be mapped to custom:....
applyTemplate :: PkgBuild -> String Source #
Apply PkgBuild to felixTemplate.