Copyright | (c) 2020 berberman |
---|---|
License | MIT |
Maintainer | berberman <1793913507@qq.com> |
Safe Haskell | None |
Language | Haskell2010 |
Template of PKGBUILD file.
Synopsis
- data PkgBuild = PkgBuild {}
- data ArchLicense
- mapLicense :: LicenseId -> ArchLicense
- applyTemplate :: PkgBuild -> String
- felixTemplate :: Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text -> Text
Documentation
PkgBuild data type, representing needed informations 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
.