haskel-x11.patch
changeset 37 8435b9bef8e6
parent 36 c6c7d41833c3
equal deleted inserted replaced
36:c6c7d41833c3 37:8435b9bef8e6
     1 haskel-x11
     1 haskel-x11
     2 
     2 
     3 diff --git a/source/custom/haskel-x11/FrugalBuild b/source/custom/haskel-x11/FrugalBuild
     3 diff --git a/source/custom-x11/haskel-x11/FrugalBuild b/source/custom-x11/haskel-x11/FrugalBuild
     4 new file mode 100644
     4 new file mode 100644
     5 index 0000000..035cba9
     5 index 0000000..035cba9
     6 --- /dev/null
     6 --- /dev/null
     7 +++ b/source/custom/haskel-x11/FrugalBuild
     7 +++ b/source/custom-x11/haskel-x11/FrugalBuild
     8 @@ -0,0 +1,31 @@
     8 @@ -0,0 +1,31 @@
     9 +pkgname=haskell-x11
     9 +pkgname=haskell-x11
    10 +pkgver=1.4.2
    10 +pkgver=1.4.2
    11 +pkgrel=1
    11 +pkgrel=1
    12 +pkgdesc="A Haskell binding to the X11 graphics library."
    12 +pkgdesc="A Haskell binding to the X11 graphics library."
    35 +  install -m744 unregister.sh $Fdestdir/usr/share/haskell/$pkgname/unregister.sh
    35 +  install -m744 unregister.sh $Fdestdir/usr/share/haskell/$pkgname/unregister.sh
    36 +  runhaskell Setup.hs copy --destdir=$Fdestdir || Fdie
    36 +  runhaskell Setup.hs copy --destdir=$Fdestdir || Fdie
    37 +
    37 +
    38 +  install -D -m644 LICENSE $Fdestdir/usr/share/licenses/$pkgname/BSD3
    38 +  install -D -m644 LICENSE $Fdestdir/usr/share/licenses/$pkgname/BSD3
    39 +}
    39 +}
    40 diff --git a/source/custom/haskel-x11/hsmod.install b/source/custom/haskel-x11/hsmod.install
    40 diff --git a/source/custom-x11/haskel-x11/hsmod.install b/source/custom-x11/haskel-x11/hsmod.install
    41 new file mode 100644
    41 new file mode 100644
    42 index 0000000..e417f26
    42 index 0000000..e417f26
    43 --- /dev/null
    43 --- /dev/null
    44 +++ b/source/custom/haskel-x11/hsmod.install
    44 +++ b/source/custom-x11/haskel-x11/hsmod.install
    45 @@ -0,0 +1,22 @@
    45 @@ -0,0 +1,22 @@
    46 +HS_DIR=/usr/share/haskell/haskell-x11
    46 +HS_DIR=/usr/share/haskell/haskell-x11
    47 +
    47 +
    48 +post_install() {
    48 +post_install() {
    49 +  ${HS_DIR}/register.sh
    49 +  ${HS_DIR}/register.sh