[arch-commits] Commit in shellcheck/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri May 13 15:10:04 UTC 2022
Date: Friday, May 13, 2022 @ 15:10:04
Author: felixonmars
Revision: 1202155
archrelease: copy trunk to community-staging-x86_64
Added:
shellcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 1202154, shellcheck/trunk/PKGBUILD)
Deleted:
shellcheck/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-13 15:09:52 UTC (rev 1202154)
+++ PKGBUILD 2022-05-13 15:10:04 UTC (rev 1202155)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=ShellCheck
-pkgname=shellcheck
-pkgver=0.8.0
-pkgrel=100
-pkgdesc="Shell script analysis tool"
-url="https://www.shellcheck.net"
-license=("GPL")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 'haskell-regex-tdfa')
-makedepends=('ghc' 'pandoc' 'uusi')
-source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz")
-sha512sums=('71f4c6745c6094ab1832a0f19f3e65621af93dd57c2cd780b8702886481e5568d708a9d1884e82525b92b6d109bf94d843dd10ac991ead27ca6cd4c6c553e92d')
-
-prepare() {
- cd $pkgname-$pkgver
- gen-setup
-}
-
-build() {
- cd $pkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
- --ghc-option='-pie'
- 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
-
- ./manpage
-}
-
-check() {
- cd $pkgname-$pkgver
- runhaskell Setup test --show-details=direct
-}
-
-package() {
- cd $pkgname-$pkgver
-
- install -D -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
- 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}"
- rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}
Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 1202154, shellcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-13 15:10:04 UTC (rev 1202155)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.8.0
+pkgrel=101
+pkgdesc="Shell script analysis tool"
+url="https://www.shellcheck.net"
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc' 'uusi')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz")
+sha512sums=('71f4c6745c6094ab1832a0f19f3e65621af93dd57c2cd780b8702886481e5568d708a9d1884e82525b92b6d109bf94d843dd10ac991ead27ca6cd4c6c553e92d')
+
+prepare() {
+ cd $pkgname-$pkgver
+ gen-setup
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+ --ghc-option='-pie'
+ 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
+
+ ./manpage
+}
+
+check() {
+ cd $pkgname-$pkgver
+ runhaskell Setup test --show-details=direct
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ install -D -m644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ 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}"
+ rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list