Oops, forgot to add INSTALL and DEINSTALL scripts.

This commit is contained in:
Emil Sköldberg 2007-12-10 17:02:57 +00:00 committed by Thomas Klausner
parent 8493fbea7f
commit 632b7b6b7d
2 changed files with 53 additions and 0 deletions

7
xmonad/DEINSTALL Normal file
View file

@ -0,0 +1,7 @@
PKGVERSION=@PKGVERSION@
case ${STAGE} in
POST-DEINSTALL)
ghc-pkg unregister xmonad-${PKGVERSION}
;;
esac

46
xmonad/INSTALL Normal file
View file

@ -0,0 +1,46 @@
PREFIX=@PREFIX@
PKGVERSION=@PKGVERSION@
GHCVERSION=@GHCVERSION@
case ${STAGE} in
POST-INSTALL)
echo 'name: xmonad
version: ${PKGVERSION}
license: BSD3
copyright:
maintainer: xmonad@haskell.org
stability:
homepage: http://xmonad.org
package-url:
description: xmonad is a tiling window manager for X. Windows are arranged
automatically to tile the screen without gaps or overlap, maximising
screen use. All features of the window manager are accessible from
the keyboard: a mouse is strictly optional. xmonad is written and
extensible in Haskell. Custom layout algorithms, and other
extensions, may be written by the user in config files. Layouts are
applied dynamically, and different layouts may be used on each
workspace. Xinerama is fully supported, allowing windows to be tiled
on several screens.
category: System
author: Spencer Janssen
exposed: True
exposed-modules: XMonad XMonad.Main XMonad.Core XMonad.Config
XMonad.Layout XMonad.ManageHook XMonad.Operations XMonad.StackSet
hidden-modules:
import-dirs: ${PREFIX}/lib/xmonad-${PKGVERSION}/ghc-${GHCVERSION}
library-dirs: ${PREFIX}/lib/xmonad-${PKGVERSION}/ghc-${GHCVERSION}
hs-libraries: HSxmonad-${PKGVERSION}
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-2.1.1 X11-1.4.0 mtl-1.0.1 unix-2.1
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: ${PREFIX}/share/doc/xmonad-${PKGVERSION}/html/xmonad.haddock
haddock-html: ${PREFIX}/share/doc/xmonad-${PKGVERSION}/html' | ${PREFIX}/bin/ghc-pkg update -
;;
esac