[arch-commits] Commit in haskell-optics-th/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Mar 13 16:06:19 UTC 2021


    Date: Saturday, March 13, 2021 @ 16:06:19
  Author: felixonmars
Revision: 890327

upgpkg: haskell-optics-th 0.4-1: rebuild with optics-core 0.4, optics-extra 0.4, optics-th 0.4

Modified:
  haskell-optics-th/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-13 16:05:24 UTC (rev 890326)
+++ PKGBUILD	2021-03-13 16:06:19 UTC (rev 890327)
@@ -2,8 +2,8 @@
 
 _hkgname=optics-th
 pkgname=haskell-optics-th
-pkgver=0.3.0.2
-pkgrel=9
+pkgver=0.4
+pkgrel=1
 pkgdesc="Optics construction using TemplateHaskell"
 url="https://github.com/well-typed/optics"
 license=('BSD')
@@ -11,12 +11,11 @@
 depends=('ghc-libs' 'haskell-optics-core' 'haskell-th-abstraction')
 makedepends=('ghc' 'uusi' 'haskell-tagged')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('0ebce42453d8bbdc621f8f97aa4a34a8defc66d4ea9d09b466447f01ed440cf84896d8d9326a61eb77daa1b844dd2bf6b8e73b86f585b3c0b1c2ffbab7391691')
+sha512sums=('63e7aa80b4d34de5c31995162f66bea09456d8d2c57ab8a35fbd3094af350540ebae01e74c79c045c0d981e618c74c8c59051ddf5d841df5058c790ffc1c0d0c')
 
 prepare() {
     cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-    uusi $_hkgname.cabal
+    gen-setup
 }
 
 build() {



More information about the arch-commits mailing list