Copyright | (c) 2020 berberman |
---|---|
License | MIT |
Maintainer | berberman <berberman@yandex.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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
- metaTemplate :: Text -> Text -> Text -> Text -> Text
Documentation
PkgBuild data type, representing needed information in filling the felixTemplate
.
PkgBuild | |
|
data ArchLicense Source #
Licenses available in licenses.
Instances
Show ArchLicense Source # | |
Defined in Distribution.ArchHs.PkgBuild 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
.