diff options
author | Dino Morelli | 2023-10-09 09:56:37 -0400 |
---|---|---|
committer | Dino Morelli | 2023-10-09 09:56:37 -0400 |
commit | ff9b1e5d691ef2b9dba3412fc304f8fbbfe13684 (patch) | |
tree | 932a84e84a8a417b523f8243299a124d5a696daa | |
parent | 0909a1973616a098030a26de192e77c547288b66 (diff) | |
download | aur-ff9b1e5d691ef2b9dba3412fc304f8fbbfe13684.tar.gz |
Updated for upstream version 2.13.1
Also, this package has a new maintainer, being re-added to the AUR.
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 24 insertions, 30 deletions
@@ -1,22 +1,16 @@ pkgbase = stack-bin - pkgdesc = The Haskell Tool Stack (tool only -- libraries not included) - pkgver = 2.1.3 + pkgdesc = The Haskell Tool Stack. Packaged from upstream binary release. + pkgver = 2.13.1 pkgrel = 1 - url = https://hackage.haskell.org/package/stack - arch = aarch64 - arch = i686 + url = https://github.com/commercialhaskell/stack arch = x86_64 - license = BSD3 + license = custom:BSD3 depends = gmp depends = zlib provides = stack conflicts = stack - source_aarch64 = https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-aarch64.tar.gz - sha256sums_aarch64 = 1212c3ef9c4e901c50b086f1d778c28d75eb27cb4529695d2f1a16ea3f898a6d - source_i686 = https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-i386.tar.gz - sha256sums_i686 = 4acd97f4c91b1d1333c8d84ea38f690f0b5ac5224ba591f8cdd1b9d0e8973807 - source_x86_64 = https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-x86_64.tar.gz - sha256sums_x86_64 = c724b207831fe5f06b087bac7e01d33e61a1c9cad6be0468f9c117d383ec5673 + conflicts = stack-static + source = https://github.com/commercialhaskell/stack/releases/download/v2.13.1/stack-2.13.1-linux-x86_64.tar.gz + sha256sums = 45281bb2385e928916ec8bcbc7ab790ce8721bbf805f3d0752544ada22ad5ea3 pkgname = stack-bin - @@ -1,23 +1,23 @@ -# Maintainer: Phil Ruffwind <rf@rufflewind.com> +# Maintainer: Dino Morelli <dino@ui3.info> + pkgname=stack-bin -pkgver=2.1.3 +_pkgname=stack +pkgver=2.13.1 pkgrel=1 -pkgdesc="The Haskell Tool Stack (tool only -- libraries not included)" -arch=(aarch64 i686 x86_64) -url=https://hackage.haskell.org/package/stack -license=(BSD3) +pkgdesc="The Haskell Tool Stack. Packaged from upstream binary release." +arch=('x86_64') +url="https://github.com/commercialhaskell/${_pkgname}" +license=('custom:BSD3') depends=(gmp zlib) provides=(stack) -conflicts=(stack) -source_aarch64=(https://github.com/commercialhaskell/stack/releases/download/v$pkgver/stack-$pkgver-linux-aarch64.tar.gz) -source_i686=(https://github.com/commercialhaskell/stack/releases/download/v$pkgver/stack-$pkgver-linux-i386.tar.gz) -source_x86_64=(https://github.com/commercialhaskell/stack/releases/download/v$pkgver/stack-$pkgver-linux-x86_64.tar.gz) -sha256sums_aarch64=('1212c3ef9c4e901c50b086f1d778c28d75eb27cb4529695d2f1a16ea3f898a6d') -sha256sums_i686=('4acd97f4c91b1d1333c8d84ea38f690f0b5ac5224ba591f8cdd1b9d0e8973807') -sha256sums_x86_64=('c724b207831fe5f06b087bac7e01d33e61a1c9cad6be0468f9c117d383ec5673') - +conflicts=(stack stack-static) +source=("https://github.com/commercialhaskell/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-${arch}.tar.gz") +sha256sums=('45281bb2385e928916ec8bcbc7ab790ce8721bbf805f3d0752544ada22ad5ea3') package() { - cd "$srcdir/stack-$pkgver-linux-"*/ - install -Dm755 stack "$pkgdir/usr/bin/stack" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/stack/LICENSE" + cd ${srcdir}/${_pkgname}-${pkgver}-linux-${arch} + install -Dm755 stack "${pkgdir}/usr/bin/stack" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md" + install -Dm644 ChangeLog.md "${pkgdir}/usr/share/doc/${_pkgname}/ChangeLog.md" + install -Dm644 CONTRIBUTING.md "${pkgdir}/usr/share/doc/${_pkgname}/CONTRIBUTING.md" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } |