aboutsummaryrefslogtreecommitdiffstats
path: root/community/cabal/cabal-0003-use-apkbuild-downloads.patch
blob: b2c30bc9ea878c82ff4694ed5c3f7ecdac1456b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -392,18 +392,10 @@
 
   if need_pkg ${PKG} ${VER_MATCH}
   then
-    echo
-    if [ -r "${PKG}-${VER}.tar.gz" ]
-    then
-        echo "Using local tarball for ${PKG}-${VER}."
-    else
-        echo "Downloading ${PKG}-${VER}..."
-        fetch_pkg ${PKG} ${VER}
-    fi
-    unpack_pkg ${PKG} ${VER}
-    cd "${PKG}-${VER}"
+    cd "../${PKG}-${VER}"
+    cp "../${PKG}.cabal" .
     install_pkg ${PKG} ${VER}
-    cd ..
+    cd ../cabal-install-*
   fi
 }