[PATCH] Distribution/ArchLinux/PkgBuild.hs: the ArchPackage data type is obsolete
Peter Simons
simons at cryp.to
Sun Jan 9 22:24:16 CET 2011
---
Distribution/ArchLinux/PkgBuild.hs | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/Distribution/ArchLinux/PkgBuild.hs b/Distribution/ArchLinux/PkgBuild.hs
index c519742..86a913e 100644
--- a/Distribution/ArchLinux/PkgBuild.hs
+++ b/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 = []
- }
-
--
1.7.3.5
--=-=-=--
More information about the arch-haskell
mailing list