[arch-commits] Commit in haskell-cairo/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 27 16:17:27 UTC 2019
Date: Monday, May 27, 2019 @ 16:17:26
Author: felixonmars
Revision: 471623
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-cairo/repos/community-staging-x86_64/PKGBUILD
(from rev 471622, haskell-cairo/trunk/PKGBUILD)
Deleted:
haskell-cairo/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-27 16:17:11 UTC (rev 471622)
+++ PKGBUILD 2019-05-27 16:17:26 UTC (rev 471623)
@@ -1,37 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=haskell-cairo
-pkgver=0.13.6.0
-pkgrel=15
-pkgdesc="Binding to the cairo library for Gtk2Hs."
-url="https://hackage.haskell.org/package/cairo"
-license=('LGPL2.1')
-arch=('x86_64')
-depends=('ghc-libs' 'cairo' 'haskell-utf8-string')
-makedepends=("haskell-gtk2hs-buildtools" "mesa" 'ghc')
-conflicts=('gtk2hs-cairo')
-provides=('gtk2hs-cairo')
-replaces=('gtk2hs-cairo')
-source=("https://hackage.haskell.org/packages/archive/cairo/${pkgver}/cairo-${pkgver}.tar.gz")
-sha512sums=('3f8c9d4bd5d219a25c5da07fd7b79abcf041a5a656989eac9d1b3512a319d41f11b84c7a66faeee876c66d3744579f0764df23eccb6ed4959a59d5568e6f9b28')
-
-build() {
- cd "${srcdir}/cairo-${pkgver}"
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
- runhaskell Setup build
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- 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/register/$pkgname.sh
- install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
- runhaskell Setup copy --destdir="$pkgdir"
-}
Copied: haskell-cairo/repos/community-staging-x86_64/PKGBUILD (from rev 471622, haskell-cairo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-27 16:17:26 UTC (rev 471623)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-cairo
+pkgver=0.13.6.0
+pkgrel=16
+pkgdesc="Binding to the cairo library for Gtk2Hs."
+url="https://hackage.haskell.org/package/cairo"
+license=('LGPL2.1')
+arch=('x86_64')
+depends=('ghc-libs' 'cairo' 'haskell-utf8-string')
+makedepends=("haskell-gtk2hs-buildtools" "mesa" 'ghc')
+conflicts=('gtk2hs-cairo')
+provides=('gtk2hs-cairo')
+replaces=('gtk2hs-cairo')
+source=("https://hackage.haskell.org/packages/archive/cairo/${pkgver}/cairo-${pkgver}.tar.gz")
+sha512sums=('3f8c9d4bd5d219a25c5da07fd7b79abcf041a5a656989eac9d1b3512a319d41f11b84c7a66faeee876c66d3744579f0764df23eccb6ed4959a59d5568e6f9b28')
+
+build() {
+ cd "${srcdir}/cairo-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+ 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/register/$pkgname.sh
+ install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+ runhaskell Setup copy --destdir="$pkgdir"
+}
More information about the arch-commits
mailing list