[arch-commits] Commit in uusi/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Oct 18 14:07:53 UTC 2020
Date: Sunday, October 18, 2020 @ 14:07:53
Author: felixonmars
Revision: 726034
archrelease: copy trunk to community-staging-x86_64
Added:
uusi/repos/community-staging-x86_64/PKGBUILD
(from rev 726033, uusi/trunk/PKGBUILD)
Deleted:
uusi/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-18 14:07:41 UTC (rev 726033)
+++ PKGBUILD 2020-10-18 14:07:53 UTC (rev 726034)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=uusi
-pkgver=0.0.0.0
-pkgrel=7
-pkgdesc="A program removing all version constraints of dependencies in .cabal file"
-url="https://github.com/berberman/uusi"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-colourista' 'haskell-microlens' 'haskell-optparse-applicative')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('8e4cc64c1b4a7e0be58655208e892e3db98db1d3f4168b586848aa82bf223172')
-
-prepare() {
- cd $pkgname-$pkgver
- echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-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
-}
-
-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 726033, uusi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-18 14:07:53 UTC (rev 726034)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=uusi
+pkgver=0.0.0.0
+pkgrel=8
+pkgdesc="A program removing all version constraints of dependencies in .cabal file"
+url="https://github.com/berberman/uusi"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-colourista' 'haskell-microlens' 'haskell-optparse-applicative')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('8e4cc64c1b4a7e0be58655208e892e3db98db1d3f4168b586848aa82bf223172')
+
+prepare() {
+ cd $pkgname-$pkgver
+ echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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
+}
+
+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