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

Felix Yan felixonmars at archlinux.org
Sun Nov 22 11:43:42 UTC 2020


    Date: Sunday, November 22, 2020 @ 11:43:42
  Author: felixonmars
Revision: 758882

archrelease: copy trunk to community-x86_64

Added:
  uusi/repos/community-x86_64/PKGBUILD
    (from rev 758881, uusi/trunk/PKGBUILD)
Deleted:
  uusi/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-22 11:43:22 UTC (rev 758881)
+++ PKGBUILD	2020-11-22 11:43:42 UTC (rev 758882)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=uusi
-pkgver=0.2.0.0
-pkgrel=2
-pkgdesc="Remove all version constraints of dependencies in .cabal file"
-url="https://github.com/berberman/uusi"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-microlens' 'haskell-microlens-th')
-makedepends=('ghc' 'haskell-hunit')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('bd9a98856976b0364e39f2d36240551f3b04f9e881b81470ed3c60ffe0d9296728ce57e158e82eb8b88fa2624d5c8698883fee15907922e3090b27069fecbe48')
-
-prepare() {
-  cd $pkgname-$pkgver
-  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-  sed -i 's/<3.1/<4/' $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 \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie'
-
-  runhaskell Setup build $MAKEFLAGS
-}
-
-check() {
-  cd $pkgname-$pkgver
-  runhaskell Setup test
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  runhaskell Setup copy --destdir="$pkgdir"
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: uusi/repos/community-x86_64/PKGBUILD (from rev 758881, uusi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-22 11:43:42 UTC (rev 758882)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=uusi
+pkgver=0.2.1.0
+pkgrel=1
+pkgdesc="Remove all version constraints of dependencies in .cabal file"
+url="https://github.com/berberman/uusi"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-microlens' 'haskell-microlens-th')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('432da1d75eb88e3abd8dd4beb674cca9d853eb2d3d39318f98a8e2cef51c05e529a9a1885a3ef5a51719761ab5323bbcb507738e694c5e36b8bb6397d7f340f7')
+
+prepare() {
+  cd $pkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  sed -i 's/<3.1/<4/' $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 \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



More information about the arch-commits mailing list