[arch-commits] Commit in taskell/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Aug 4 08:03:05 UTC 2020
Date: Tuesday, August 4, 2020 @ 08:03:05
Author: felixonmars
Revision: 668734
archrelease: copy trunk to community-staging-x86_64
Added:
taskell/repos/community-staging-x86_64/PKGBUILD
(from rev 668733, taskell/trunk/PKGBUILD)
Deleted:
taskell/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-04 08:02:53 UTC (rev 668733)
+++ PKGBUILD 2020-08-04 08:03:05 UTC (rev 668734)
@@ -1,44 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org
-
-pkgname=taskell
-pkgver=1.9.2.0
-pkgrel=132
-pkgdesc='A command-line kanban board/task manager'
-license=(BSD)
-arch=(x86_64)
-url="https://hackage.haskell.org/package/$pkgname"
-depends=(ghc-libs haskell-aeson haskell-attoparsec haskell-brick haskell-config-ini haskell-file-embed haskell-fold-debounce haskell-http-client haskell-http-conduit haskell-http-types haskell-lens haskell-tz haskell-vty haskell-classy-prelude)
-makedepends=(ghc)
-source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('4c55922ad9f6c529a8c8ca73602b9f42fa3cda4945fe8edaa554909334445e089db0b7a5ba7f6804bdf618274543fd6598d19802907a0ae661571ed48366376b')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -i 's/== *0.50/==0.55/;s/== *5.26/==5.30/;s/< *4/<5/;s/< *2/<3/;s/< *1/<2/;s/< *0.7/<1/' $pkgname.cabal
-}
-
-build() {
- cd $pkgname-$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 \
- --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
- --ghc-option='-pie'
- runhaskell Setup build $MAKEFLAGS
- 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 $pkgname-$pkgver
- runghc Setup.hs copy --destdir="$pkgdir"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # Doc only contains the license
- rm -rf "$pkgdir/usr/share/doc"
-}
-
-# vim: ts=2 sw=2 et:
Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 668733, taskell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-04 08:03:05 UTC (rev 668734)
@@ -0,0 +1,44 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org
+
+pkgname=taskell
+pkgver=1.9.2.0
+pkgrel=133
+pkgdesc='A command-line kanban board/task manager'
+license=(BSD)
+arch=(x86_64)
+url="https://hackage.haskell.org/package/$pkgname"
+depends=(ghc-libs haskell-aeson haskell-attoparsec haskell-brick haskell-config-ini haskell-file-embed haskell-fold-debounce haskell-http-client haskell-http-conduit haskell-http-types haskell-lens haskell-tz haskell-vty haskell-classy-prelude)
+makedepends=(ghc)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('4c55922ad9f6c529a8c8ca73602b9f42fa3cda4945fe8edaa554909334445e089db0b7a5ba7f6804bdf618274543fd6598d19802907a0ae661571ed48366376b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/== *0.50/==0.55/;s/== *5.26/==5.30/;s/< *4/<5/;s/< *2/<3/;s/< *1/<2/;s/< *0.7/<1/' $pkgname.cabal
+}
+
+build() {
+ cd $pkgname-$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 \
+ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+ --ghc-option='-pie'
+ runhaskell Setup build $MAKEFLAGS
+ 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 $pkgname-$pkgver
+ runghc Setup.hs copy --destdir="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # Doc only contains the license
+ rm -rf "$pkgdir/usr/share/doc"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list