diff -rN -u old-archlinux/Distribution/ArchLinux/PkgBuild.hs new-archlinux/Distribution/ArchLinux/PkgBuild.hs --- old-archlinux/Distribution/ArchLinux/PkgBuild.hs 2010-10-11 13:19:38.910083272 +0200 +++ new-archlinux/Distribution/ArchLinux/PkgBuild.hs 2010-10-11 13:19:38.910083272 +0200 @@ -107,7 +107,9 @@ , arch_build :: [String] -- ^ -- The build hook - + , arch_package :: [String] + -- ^ + -- The packaging hook , arch_install :: Maybe String -- ^ -- Specifies a special install script that is to be included in the package. This @@ -158,6 +160,7 @@ , arch_md5sum = ArchList [] -- sha1sums=('a08670e4c749850714205f425cb460ed5a0a56b2') , arch_build = [] + , arch_package = [] , arch_install = Nothing -- executable , arch_options = ArchList [Strip] } @@ -388,6 +391,8 @@ -> do _ <- line cs ; readPackage st | "build()" `isPrefixOf` cs -> do setInput [] ; return st + | "package()" `isPrefixOf` cs + -> do setInput [] ; return st -- skip comments | "#" `isPrefixOf` cs