diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-20 20:05:58 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-20 20:05:58 -0300 |
commit | 1872d2123d241e0a3ef01a50fcdc4596b056bcf4 (patch) | |
tree | a9ba894779ea4dc5df5f6d5a9bceae99f4c44e06 /community-staging/haskell-cairo/PKGBUILD | |
parent | 5a05be089c68617c86c9c555e63f2b0314451ebf (diff) | |
parent | 005a14f92ef5d35e4c47d970cb7e69367a835958 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/balsa/PKGBUILD
community/bitcoin/PKGBUILD
community/jack2/PKGBUILD
community/kadu/PKGBUILD
community/oss/PKGBUILD
core/sudo/PKGBUILD
extra/djvulibre/PKGBUILD
extra/gtk2/PKGBUILD
extra/kdenetwork/PKGBUILD
extra/samba/PKGBUILD
gnome-unstable/at-spi2-atk/PKGBUILD
gnome-unstable/at-spi2-core/PKGBUILD
gnome-unstable/glib-networking/PKGBUILD
gnome-unstable/glib2/PKGBUILD
gnome-unstable/gobject-introspection/PKGBUILD
libre/kdenetwork-kopete-libre/PKGBUILD
multilib/jack2-multilib/PKGBUILD
multilib/lib32-gtk2/PKGBUILD
multilib/lib32-sdl/PKGBUILD
multilib/wine/PKGBUILD
multilib/zsnes/PKGBUILD
testing/btrfs-progs/PKGBUILD
testing/dnsutils/PKGBUILD
testing/man-db/PKGBUILD
testing/postgresql/PKGBUILD
testing/postgresql/postgresql.install
testing/postgresql/postgresql.service
testing/procps-ng/PKGBUILD
testing/procps-ng/sysctl.conf
testing/sudo/PKGBUILD
testing/xf86-video-nouveau/PKGBUILD
testing/xf86-video-nouveau/xf86-video-nouveau.install
Diffstat (limited to 'community-staging/haskell-cairo/PKGBUILD')
-rw-r--r-- | community-staging/haskell-cairo/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community-staging/haskell-cairo/PKGBUILD b/community-staging/haskell-cairo/PKGBUILD new file mode 100644 index 000000000..d07e9f435 --- /dev/null +++ b/community-staging/haskell-cairo/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 76138 2012-09-12 04:01:58Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=haskell-cairo +pkgver=0.12.3.1 +pkgrel=2 +pkgdesc="Binding to the cairo library for Gtk2Hs." +url="http://hackage.haskell.org/package/cairo" +license=('LGPL2.1') +arch=('i686' 'x86_64') +depends=('ghc=7.6.1-1' 'cairo' 'haskell-mtl=2.1.2-1') +makedepends=("gtk2hs-buildtools") +options=('strip') +conflicts=('gtk2hs-cairo') +provides=('gtk2hs-cairo') +replaces=('gtk2hs-cairo') +install=gtk2hs-cairo.install +source=(http://hackage.haskell.org/packages/archive/cairo/$pkgver/cairo-$pkgver.tar.gz) +md5sums=('9d489fbb6cadb3d109543fe25c50195e') + +build() { + cd ${srcdir}/cairo-$pkgver + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-cairo \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd ${srcdir}/cairo-${pkgver} + install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/register.sh + install -m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-cairo/unregister.sh + install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries + ln -s /usr/share/doc/haskell-cairo/html ${pkgdir}/usr/share/doc/ghc/html/libraries/cairo + runhaskell Setup copy --destdir=${pkgdir} +} |