Package Details: mingw-w64-pdcurses 4.4.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-pdcurses.git (read-only, click to copy)
Package Base: mingw-w64-pdcurses
Description: Public Domain Curses wincon port (mingw-w64)
Upstream URL: https://www.projectpluto.com/win32a.htm
Keywords: mingw mingw-w64
Licenses: Public Domain
Provides: mingw-w64-curses
Submitter: brcha
Maintainer: adsun
Last Packager: adsun
Votes: 21
Popularity: 0.000000
First Submitted: 2012-06-18 14:59 (UTC)
Last Updated: 2023-12-01 21:49 (UTC)

Latest Comments

grandchild commented on 2020-10-07 12:29 (UTC)

Use the following patch to fix the package:

diff --git a/PKGBUILD b/PKGBUILD
index 5d157ba..52a6871 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,9 +14,8 @@ options=(staticlibs !buildflags !strip)
 license=("public domain")
 source=(pdcurses-${pkgver}.tar.gz::"https://github.com/Bill-Gray/PDCursesMod/archive/v${pkgver}.tar.gz"
         001-mingw-pdcurses-4.1.0-build.patch)
-sha256sums=('50e982a680f97ddc4dbf657e933dd1597101294e2f71a51e37060c85b07a3d5d'
+sha256sums=('bb6e6f6fe3e2fe1e6a5013b980a3b7a547fae9ac00eae9eb8b432ab5003cc7ab'
             '029b3755eacc8b3bebc09767b2090e18c160acc80be0b07742d8aaa098b6be89')
-
 _architectures="i686-w64-mingw32 x86_64-w64-mingw32"

 prepare() {
@@ -27,10 +26,6 @@ prepare() {
 build() {
   cd "${srcdir}/PDCursesMod-${pkgver}"
   for _arch in ${_architectures}; do
-# NOte that you should use something like -${_arch}
-# to prevent building i686 compiled binaries from
-# being compiled with x86_64 compiled binaries and
-# vice-versa.  That causes build failures - no surpise.
     cp -rf wingui wingui-shared-${_arch}
     pushd wingui-shared-${_arch}
       make \
@@ -41,14 +36,6 @@ build() {
         WIDE=Y \
         UTF8=Y \
         DLL=Y
-      make demos \
-        CC=${_arch}-gcc \
-        LINK=${_arch}-gcc \
-        STRIP=${_arch}-strip \
-        AR=${_arch}-ar \
-        WIDE=Y \
-        UTF8=Y \
-        DLL=Y
     popd

     cp -rf wingui wingui-static-${_arch}
@@ -60,13 +47,6 @@ build() {
         AR=${_arch}-ar \
         WIDE=Y \
         UTF8=Y
-      make demos \
-        CC=${_arch}-gcc \
-        LINK=${_arch}-gcc \
-        STRIP=${_arch}-strip \
-        AR=${_arch}-ar \
-        WIDE=Y \
-        UTF8=Y
     popd 
   done
 }
@@ -77,7 +57,6 @@ package() {
     mkdir -p ${pkgdir}/usr/${_arch}/{bin,include,lib}
     mkdir ${pkgdir}/usr/${_arch}/include/pdcurses

-    install wingui-shared-${_arch}/*.exe ${pkgdir}/usr/${_arch}/bin/
     install wingui-shared-${_arch}/libpdcurses.dll ${pkgdir}/usr/${_arch}/bin/
     install wingui-shared-${_arch}/libpdcurses.dll.a ${pkgdir}/usr/${_arch}/lib/libpdcurses.dll.a
     install wingui-shared-${_arch}/libpdcurses.dll.a ${pkgdir}/usr/${_arch}/lib/libcurses.dll.a

grandchild commented on 2020-10-05 10:17 (UTC)

checksum is wrong (again?)

vladimir1922 commented on 2020-08-10 12:55 (UTC)

sha256 sum error:

pdcurses-4.1.0.tar.gz ... FAILED

micwoj92 commented on 2020-08-05 19:30 (UTC) (edited on 2020-08-05 19:30 (UTC) by micwoj92)

Can't build due to wrong sha256 of pdcurses-4.1.0.tar.gz

Think it should be:

[micwoj92@desktop]: ~/.cache/pikaur/build/mingw-w64-pdcurses>$ sha256sum pdcurses-4.1.0.tar.gz

c6e036c0cb24f7909dbb8fa5011564727cd64a91efd3b7bb3e81c7509d7f5fde pdcurses-4.1.0.tar.gz

xantares commented on 2020-05-19 08:10 (UTC)

hello, could you remove the exes ?

WFCody commented on 2015-11-15 12:43 (UTC)

Thanks! The developer does not do versioned releases so the zip file changes md5sums as he updates it. I hope you enjoy it :)

laftur commented on 2015-11-15 10:19 (UTC)

md5sum for win32a.zip seems to be wrong

WFCody commented on 2015-08-19 16:04 (UTC)

This might be an interesting alternative implementation of PDCurses for Win32 http://www.projectpluto.com/win32a.htm

xantares commented on 2013-10-15 09:37 (UTC)

Hi, Aren't all the .exes useless ? x.