[arch-commits] Commit in haskell-pid1/repos/community-testing-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Oct 16 15:11:51 UTC 2021
Date: Saturday, October 16, 2021 @ 15:11:51
Author: felixonmars
Revision: 1030522
archrelease: copy trunk to community-testing-x86_64
Added:
haskell-pid1/repos/community-testing-x86_64/PKGBUILD
(from rev 1030521, haskell-pid1/trunk/PKGBUILD)
Deleted:
haskell-pid1/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-16 15:11:42 UTC (rev 1030521)
+++ PKGBUILD 2021-10-16 15:11:51 UTC (rev 1030522)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Dziedzic <gostrc at gmail.com>
-
-_hkgname=pid1
-pkgname=haskell-pid1
-pkgver=0.1.2.0
-pkgrel=24
-pkgdesc="Do signal handling and orphan reaping for Unix PID1 init processes"
-url="https://github.com/fpco/pid1"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('92d639637d13ad2cd4db2e4c5a0858ebd2fb6784b5826e4446b0a873e193a614e960a3fce8353742fd7439a93c9af309b254b55cf1b32f43620199a93864b729')
-
-build() {
- cd $_hkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
- runhaskell Setup build $MAKEFLAGS
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- cd $_hkgname-$pkgver
-
- install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
- install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
- runhaskell Setup copy --destdir="$pkgdir"
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}
Copied: haskell-pid1/repos/community-testing-x86_64/PKGBUILD (from rev 1030521, haskell-pid1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-16 15:11:51 UTC (rev 1030522)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+
+_hkgname=pid1
+pkgname=haskell-pid1
+pkgver=0.1.3.0
+pkgrel=1
+pkgdesc="Do signal handling and orphan reaping for Unix PID1 init processes"
+url="https://github.com/fpco/pid1"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('bd7866be75ba4578de021ed4e1a081444e6f899064c40408cd0f4f89f17b1c5a9de51ef5a6f4638e70720a0e8b0a1eeba382d0bbac499860b8623b6fccd7ba63')
+
+build() {
+ cd $_hkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
+ runhaskell Setup build $MAKEFLAGS
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd $_hkgname-$pkgver
+
+ install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+ install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+ 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