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

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 26 11:11:51 UTC 2022


    Date: Friday, August 26, 2022 @ 11:11:50
  Author: felixonmars
Revision: 1281830

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-26 11:11:35 UTC (rev 1281829)
+++ PKGBUILD	2022-08-26 11:11:50 UTC (rev 1281830)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=uusi
-pkgver=0.4.2.0
-pkgrel=91
-pkgdesc="Tweak .cabal files"
-url="https://github.com/berberman/uusi"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc')
-checkdepends=('haskell-hunit')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('0d859230940ccf035578a61ecea6165c94de2865e860bb22addcaeaa89a2c214bf46bde8bcce1f0b04a1cd1b58d4d1a2271ca69904ba6055a421ebb4e40c1f7b')
-
-build() {
-  cd $pkgname-$pkgver
-
-  if (( CHECKFUNC )); then
-    _opts=('--enable-tests')
-  else
-    _opts=('--disable-tests')
-  fi
-
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname "${_opts[@]}" \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie'
-
-  runhaskell Setup build $MAKEFLAGS
-}
-
-check() {
-  cd $pkgname-$pkgver
-  runhaskell Setup test --show-details=direct
-}
-
-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-staging-x86_64/PKGBUILD (from rev 1281829, uusi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-26 11:11:50 UTC (rev 1281830)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=uusi
+pkgver=0.4.2.0
+pkgrel=92
+pkgdesc="Tweak .cabal files"
+url="https://github.com/berberman/uusi"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+checkdepends=('haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0d859230940ccf035578a61ecea6165c94de2865e860bb22addcaeaa89a2c214bf46bde8bcce1f0b04a1cd1b58d4d1a2271ca69904ba6055a421ebb4e40c1f7b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  if (( CHECKFUNC )); then
+    _opts=('--enable-tests')
+  else
+    _opts=('--disable-tests')
+  fi
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname "${_opts[@]}" \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+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