[arch-commits] Commit in uusi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 9 02:38:20 UTC 2021
Date: Wednesday, June 9, 2021 @ 02:38:20
Author: felixonmars
Revision: 960009
archrelease: copy trunk to community-x86_64
Added:
uusi/repos/community-x86_64/PKGBUILD
(from rev 960008, uusi/trunk/PKGBUILD)
Deleted:
uusi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 38 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-09 02:38:04 UTC (rev 960008)
+++ PKGBUILD 2021-06-09 02:38:20 UTC (rev 960009)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=uusi
-pkgver=0.4.0.0
-pkgrel=24
-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 --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-x86_64/PKGBUILD (from rev 960008, uusi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-09 02:38:20 UTC (rev 960009)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=uusi
+pkgver=0.4.1.0
+pkgrel=1
+pkgdesc="Tweak .cabal files"
+url="https://github.com/berberman/uusi"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b4b7158916fab1cb6c03d0b3830545f56a1570f1efed37fc7d92542877919449c4eb6090050c57b022bc80807c6383f93dd54d43359960420c570586975cc93b')
+
+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 --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