cabal2arch 0.3.4 → 0.3.5
raw patch · 2 files changed
+9/−3 lines, 2 files
Files
- Main.hs +8/−2
- cabal2arch.cabal +1/−1
Main.hs view
@@ -83,7 +83,7 @@ email <- do r <- getEnvMaybe "ARCH_HASKELL" case r of- Nothing -> do hPutStrLn stderr "Warning: ARCH_HASKELL environment variable not set. Set this to the maintainer contat you wish to use. \n E.g. 'Arch Haskell Team <arch-haskell@haskell.com>'"+ Nothing -> do hPutStrLn stderr "Warning: ARCH_HASKELL environment variable not set. Set this to the maintainer contat you wish to use. \n E.g. 'Arch Haskell Team <arch-haskell@haskell.org>'" return [] Just s -> return s @@ -136,6 +136,10 @@ die "Unable to tar package" Right _ -> putStrLn ("Created " ++ (cwd </> dir <.> "tar.gz")) + -- RSS generation help+ writeFile "title" (arch_pkgname pkgbuild ++ "-" ++ (render . disp $ arch_pkgver pkgbuild))+ writeFile "desc" (show $ arch_pkgdesc pkgbuild)+ ------------------------------------------------------------------------ -- | Given an abstract pkgbuild, download the source bundle,@@ -316,6 +320,7 @@ ,("exif", "libexif") ,("tiff", "libtiff") ,("sndfile", "libsndfile")+ ,("fftw3", "fftw") ,("pq", "postgresql") ,("ssl", "openssl")@@ -324,6 +329,7 @@ ,("odbc", "unixodbc") ,("z", "zlib") ,("curses", "ncurses")+ ,("xslt", "libxslt") ,("pthread", "") ,("m", "")@@ -492,7 +498,7 @@ anyClibraries | null libs = ArchList [] | otherwise = ArchList libs where- libs = [ ArchDep (Dependency s AnyVersion) | s <- findCLibs cabal ]+ libs = [ ArchDep (Dependency s AnyVersion) | s <- nub (findCLibs cabal) ] -- -- post install, and pre-remove hooks to run, to sync up ghc-pkg
cabal2arch.cabal view
@@ -1,5 +1,5 @@ name: cabal2arch-version: 0.3.4+version: 0.3.5 homepage: http://code.haskell.org/~dons/code/cabal2arch synopsis: Create Arch Linux packages from Cabal packages description: Create Arch Linux packages from Cabal packages