Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / hlint


Commits:
950d5c66 by Felix Yan at 2025-12-23T00:36:12+08:00
upgpkg: 3.6.1-1: rebuild with hlint 3.6.1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
 pkgbase = hlint
        pkgdesc = Source code suggestions
-       pkgver = 3.6
-       pkgrel = 4
-       url = http://community.haskell.org/~ndm/hlint/
+       pkgver = 3.6.1
+       pkgrel = 1
+       url = https://github.com/ndmitchell/hlint
        arch = x86_64
-       license = BSD
+       license = BSD-3-Clause
        makedepends = ghc
        depends = ghc-libs
        depends = haskell-aeson
@@ -28,7 +28,7 @@ pkgbase = hlint
        depends = haskell-yaml
        conflicts = haskell-hlint
        replaces = haskell-hlint
-       source = 
https://hackage.haskell.org/packages/archive/hlint/3.6/hlint-3.6.tar.gz
-       sha512sums = 
3c1ee2969fc96aac87c8a69b11497696dd6450024d2254860a8e3181f988254794a65ecabed9d97fc2bcdc61bbd6abdf6809fe535c4121fad17ad1dc1dfe8d9e
+       source = 
https://hackage.haskell.org/packages/archive/hlint/3.6.1/hlint-3.6.1.tar.gz
+       sha512sums = 
1e46092efafc6853f94030a7aa632d0a9b161a6adfaf60df80ed41522ee1cc291665be566123d1d1a8962d9c112cc68b2b60ac2fb7d2a2d8aa6fd57b3ccd8296
 
 pkgname = hlint


=====================================
PKGBUILD
=====================================
@@ -2,11 +2,11 @@
 # Contributor: Arch Haskell Team <[email protected]>
 
 pkgname=hlint
-pkgver=3.6
-pkgrel=4
+pkgver=3.6.1
+pkgrel=1
 pkgdesc="Source code suggestions"
-url="http://community.haskell.org/~ndm/hlint/";
-license=("BSD")
+url="https://github.com/ndmitchell/hlint";
+license=('BSD-3-Clause')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 
'haskell-cpphs'
          'haskell-data-default' 'haskell-deriving-aeson' 'haskell-extra' 
'haskell-file-embed'
@@ -17,12 +17,12 @@ conflicts=('haskell-hlint')
 replaces=('haskell-hlint')
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
-sha512sums=('3c1ee2969fc96aac87c8a69b11497696dd6450024d2254860a8e3181f988254794a65ecabed9d97fc2bcdc61bbd6abdf6809fe535c4121fad17ad1dc1dfe8d9e')
+sha512sums=('1e46092efafc6853f94030a7aa632d0a9b161a6adfaf60df80ed41522ee1cc291665be566123d1d1a8962d9c112cc68b2b60ac2fb7d2a2d8aa6fd57b3ccd8296')
 
 build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd $pkgname-$pkgver
     runhaskell Setup configure -O --enable-shared --enable-debug-info 
--enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -fgpl -fthreaded -f-ghc-lib
     runhaskell Setup build $MAKEFLAGS
@@ -32,8 +32,13 @@ build() {
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $pkgname-$pkgver
+    runhaskell Setup test --show-details=direct
+}
+
 package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
+    cd $pkgname-$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}"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hlint/-/commit/950d5c661a3c8a5fcfc627686f2a41b2e47bd8d0

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hlint/-/commit/950d5c661a3c8a5fcfc627686f2a41b2e47bd8d0
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to