[arch-commits] Commit in taskell/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Sep 23 22:27:24 UTC 2020


    Date: Wednesday, September 23, 2020 @ 22:27:24
  Author: felixonmars
Revision: 711617

archrelease: copy trunk to community-x86_64

Added:
  taskell/repos/community-x86_64/PKGBUILD
    (from rev 711616, taskell/trunk/PKGBUILD)
Deleted:
  taskell/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 48 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-23 22:27:08 UTC (rev 711616)
+++ PKGBUILD	2020-09-23 22:27:24 UTC (rev 711617)
@@ -1,52 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org
-
-pkgname=taskell
-pkgver=1.9.3.0
-pkgrel=31
-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 haskell-classy-prelude haskell-raw-strings-qq haskell-tasty haskell-tasty-discover haskell-tasty-expected-failure haskell-tasty-hunit)
-source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
-        https://github.com/smallhadroncollider/taskell/raw/master/test/Taskell/IO/data/roadmap.md)
-sha512sums=('61d9615d20585345a0a7d8864c7c817196b3ebf9a7ec3aa3f592f0f6df89d14c6c6a9f31ae9cc1060f775b348505b4df5cb3262ced686a6df3dd241797624a44'
-            'c41d549a9595f91dc58dfb72eeaca8e1faeafe87255e8b375fe542f015fffb736004bce6ed7b97a3c4493b3b35a53e6ce755698f45a16f736920c8743e7247b8')
-
-prepare() {
-  cd $pkgname-$pkgver
-  sed -i 's/== *0.52/==0.55/;s/== *5.26/==5.30/;s/< *4/<5/;s/< *2/<3/;s/< *1/<2/;s/< *0.7/<1/;s/>=1.2.4.0/>=1.2/;s/< *0.12/<1/' $pkgname.cabal
-  cp ../roadmap.md test/Taskell/IO/data/
-}
-
-build() {
-  cd $pkgname-$pkgver
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
-    --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
-}
-
-check() {
-  cd $pkgname-$pkgver
-  runhaskell Setup test
-}
-
-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-x86_64/PKGBUILD (from rev 711616, taskell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-23 22:27:24 UTC (rev 711617)
@@ -0,0 +1,48 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org
+
+pkgname=taskell
+pkgver=1.10.0
+pkgrel=1
+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 arch-hs haskell-classy-prelude haskell-raw-strings-qq haskell-tasty haskell-tasty-discover haskell-tasty-expected-failure haskell-tasty-hunit)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('08806885b3ad70606423e3189fa4f3c2f3586db7b0be496aeef796ba5f40eeb1e2eb2e0a175b3e1bdd98d33bad34d61621db2dabe8485bd4a2c54f13c9f441b0')
+
+prepare() {
+  arch-hs-uusi $pkgname-$pkgver/$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 --enable-tests \
+    --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
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+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