Permalink
Browse files

Distribution/ArchLinux/PkgBuild.hs: the ArchPackage data type is obso…

…lete
  • Loading branch information...
1 parent 6b2a228 commit b27f8e880fa884d03f2b26f79f3b5aae34a5a95e @peti peti committed Jan 9, 2011
Showing with 0 additions and 26 deletions.
  1. +0 −26 Distribution/ArchLinux/PkgBuild.hs
@@ -535,29 +535,3 @@ instance Text AnnotatedPkgBuild where
--
pkg2doc :: String -> AnnotatedPkgBuild -> Doc
pkg2doc email pkg = text "# Maintainer:" <+> text email $$ disp pkg
-
---
--- | A data type to represent a full ArchLinux package
---
-data ArchPackage = ArchPackage
- { archpkg_pkgbuild :: AnnotatedPkgBuild
- -- ^
- -- The annotated PKGBUILD file
- , archpkg_install :: Maybe String
- -- ^
- -- The contents of the install script if it exists.
- , archpkg_others :: [(String, String)]
- -- ^
- -- A list of additional files (filename, contents)
- }
-
---
--- | An empty package
---
-emptyArchPkg :: ArchPackage
-emptyArchPkg = ArchPackage
- { archpkg_pkgbuild = emptyPkg
- , archpkg_install = Nothing
- , archpkg_others = []
- }
-

0 comments on commit b27f8e8

Please sign in to comment.