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

Felix Yan felixonmars at archlinux.org
Thu Feb 25 12:03:55 UTC 2021


    Date: Thursday, February 25, 2021 @ 12:03:55
  Author: felixonmars
Revision: 874111

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-25 12:03:44 UTC (rev 874110)
+++ PKGBUILD	2021-02-25 12:03:55 UTC (rev 874111)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=uusi
-pkgver=0.3.1.0
-pkgrel=39
-pkgdesc="Tweak dependencies in .cabal files"
-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=('1156531f8a294cd19f6d46068c3892bb450ef965504ae6711c993c74748e549b41fefe689df9a9dea2e626af9812eb45934acfefea777b8a16e8edbc9a5e817c')
-
-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 874110, uusi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-25 12:03:55 UTC (rev 874111)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=uusi
+pkgver=0.4.0.0
+pkgrel=1
+pkgdesc="Tweak .cabal files"
+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=('acddec4ec01de73678a249ee05ac3a58c024b2f015cde81b78db9f71f12b46be6b6c84c093e56afda092f79333517154be3d7914b0caab01760acf5712ee2381')
+
+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