[arch-commits] Commit in haskell-cracknum/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Jul 28 11:33:27 UTC 2021
Date: Wednesday, July 28, 2021 @ 11:33:26
Author: felixonmars
Revision: 988796
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-cracknum/repos/community-staging-x86_64/
haskell-cracknum/repos/community-staging-x86_64/PKGBUILD
(from rev 988795, haskell-cracknum/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: haskell-cracknum/repos/community-staging-x86_64/PKGBUILD (from rev 988795, haskell-cracknum/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-07-28 11:33:26 UTC (rev 988796)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=crackNum
+pkgname=haskell-cracknum
+pkgver=3.1
+pkgrel=5
+pkgdesc="Crack various integer and floating-point data formats"
+url="https://github.com/LeventErkok/crackNum"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-libbf' 'haskell-sbv' 'haskell-tasty' 'haskell-tasty-golden')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('05856604d08229dd3305d729b8b4978cde7af2dddfac95745d4736dbb86d1ae27be6e1bcceab994820eec1a583857c51f098a7301a68a2ebfcae53f96bdea564')
+
+build() {
+ cd $_hkgname-$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
+ runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+ cd $_hkgname-$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