summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe Hürlimann2020-02-08 17:57:50 +0100
committerPhilippe Hürlimann2020-02-08 17:57:50 +0100
commitd0d3fe25dd2cfe0dbe157ed4b5c4c6064e18840d (patch)
tree6c049d40ef25b49ef1dfa3319fbd023690d5f885
parentbe9f535fc5ba36bec11d99b23e7c8fe75a774263 (diff)
downloadaur-d0d3fe25dd2cfe0dbe157ed4b5c4c6064e18840d.tar.gz
Applied some suggestions
- Build from tarball instead of git - remove unneeded dependencies
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
2 files changed, 7 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 313a1f6b373..68eba205403 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,13 @@
pkgbase = haskell-ide-engine
pkgdesc = The engine for haskell ide-integration. Not an IDE
pkgver = 1.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/haskell/haskell-ide-engine
arch = x86_64
license = custom:BSD3
- makedepends = git
makedepends = stack
- makedepends = cabal-install
- makedepends = happy
- source = haskell-ide-engine-1.1::git://github.com/haskell/haskell-ide-engine.git#tag=1.1
- md5sums = SKIP
+ source = haskell-ide-engine-1.1.tar.gz::https://github.com/haskell/haskell-ide-engine/archive/1.1.tar.gz
+ sha384sums = 066cbac86f8a2bdcb68463188effa1a5f1d6804afa251caa351673a541eced306ed028fe8a5ba8c30e953a6fbb02fa4e
pkgname = haskell-ide-engine
diff --git a/PKGBUILD b/PKGBUILD
index 48824a41c16..3c5bc0c9be8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,14 @@
# Maintainer: Philippe Hürlimann <p@hurlimann.org>
pkgname=haskell-ide-engine
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="The engine for haskell ide-integration. Not an IDE"
arch=('x86_64')
url="https://github.com/haskell/haskell-ide-engine"
license=('custom:BSD3')
-makedepends=('git' 'stack' 'cabal-install' 'happy')
-source=("${pkgname}-${pkgver}::git://github.com/haskell/${pkgname}.git#tag=${pkgver}")
-noextract=()
-md5sums=('SKIP')
+makedepends=('stack')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/haskell/${pkgname}/archive/${pkgver}.tar.gz")
+sha384sums=('066cbac86f8a2bdcb68463188effa1a5f1d6804afa251caa351673a541eced306ed028fe8a5ba8c30e953a6fbb02fa4e')
# Supported are '8.4.2' '8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.1' '8.8.2'
# activated by default are the ones also used in a stackage snapshot. Removing
@@ -17,11 +16,6 @@ md5sums=('SKIP')
# package
_enabled_ghc_versions=('8.4.3' '8.4.4' '8.6.4' '8.6.5')
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- git submodule update --init
-}
-
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
for ver in "${_enabled_ghc_versions[@]}"; do