diff options
author | pingplug | 2019-05-20 15:34:54 +0800 |
---|---|---|
committer | pingplug | 2019-05-20 15:34:54 +0800 |
commit | de7b3cb2b8d0672d44cf1ed5cd160c004e69499d (patch) | |
tree | 16fbb393e29674a3adea482520571f20301e749b | |
parent | 67fa1f7a3ea06dfaa40dd1bdd260c6d21ff7929a (diff) | |
download | aur-de7b3cb2b8d0672d44cf1ed5cd160c004e69499d.tar.gz |
Updated to 4.1.0
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 31 insertions, 32 deletions
@@ -1,23 +1,22 @@ pkgbase = mingw-w64-pdcurses-win32a pkgdesc = Curses library on the Win32 API for MinGW-w64 - pkgver = 4.0.2 - pkgrel = 2 + pkgver = 4.1.0 + pkgrel = 1 url = https://www.projectpluto.com/win32a.htm arch = any - license = public domain + license = Public Domain makedepends = mingw-w64-gcc makedepends = git depends = mingw-w64-crt provides = mingw-w64-pdcurses conflicts = mingw-w64-pdcurses - replaces = mingw-w64-pdcurses + options = !strip options = staticlibs options = !buildflags - options = !strip - source = git+https://github.com/Bill-Gray/PDCurses.git#commit=10ee49e4fb96a808aed0882374dcc22b668db722 + source = git+https://github.com/Bill-Gray/PDCurses.git#commit=96f9dc577e6b30242b1a2e8f5489cdd77a6182a9 source = pdcurses.diff - sha512sums = SKIP - sha512sums = 6d360684f29211a3beb3da5285cb468f66c2f67ade8678be01b822d1ccb2dcf84ff9f76a6e0550da4e76e5952f6c0eb42e22fe31e4c6846b5a0d450e75bd81ef + sha256sums = SKIP + sha256sums = 246f93facdd2703f8b9d0bcd57e89688fd861d34a30facc60a48892b330b08bc pkgname = mingw-w64-pdcurses-win32a @@ -3,31 +3,29 @@ # adopted from mingw-w64-pdcurses package: # Contributor: Filip Brcic <brcha@gna.org> +_commit=96f9dc577e6b30242b1a2e8f5489cdd77a6182a9 # tags/4.1.0^1 +_architectures="i686-w64-mingw32 x86_64-w64-mingw32" + pkgname=mingw-w64-pdcurses-win32a -pkgver=4.0.2 -pkgrel=2 -_commit=10ee49e4fb96a808aed0882374dcc22b668db722 +pkgver=4.1.0 +pkgrel=1 pkgdesc="Curses library on the Win32 API for MinGW-w64" -arch=(any) -depends=(mingw-w64-crt) -makedepends=("mingw-w64-gcc" "git") -options=(staticlibs !buildflags !strip) +arch=('any') +url="https://www.projectpluto.com/win32a.htm" +license=('Public Domain') +depends=('mingw-w64-crt') +makedepends=('mingw-w64-gcc' + 'git') provides=('mingw-w64-pdcurses') -replaces=('mingw-w64-pdcurses') conflicts=('mingw-w64-pdcurses') -license=("public domain") -url="https://www.projectpluto.com/win32a.htm" -source=(#"http://www.projectpluto.com/win32a.zip" - "git+https://github.com/Bill-Gray/PDCurses.git#commit=$_commit" +options=('!strip' 'staticlibs' '!buildflags') +source=("git+https://github.com/Bill-Gray/PDCurses.git#commit=${_commit}" "pdcurses.diff") -sha512sums=('SKIP' - '6d360684f29211a3beb3da5285cb468f66c2f67ade8678be01b822d1ccb2dcf84ff9f76a6e0550da4e76e5952f6c0eb42e22fe31e4c6846b5a0d450e75bd81ef') - -_architectures="i686-w64-mingw32 x86_64-w64-mingw32" +sha256sums=('SKIP' + '246f93facdd2703f8b9d0bcd57e89688fd861d34a30facc60a48892b330b08bc') prepare() { cd "${srcdir}" - # export functions in terms.h patch -Np0 -i pdcurses.diff } @@ -35,13 +33,13 @@ prepare() { build() { cd "${srcdir}/PDCurses" for _arch in ${_architectures}; do - cp -a win32a build-${_arch}-static && pushd build-${_arch}-static - make -f mingwin32.mak \ + cp -a wingui build-${_arch}-static && pushd build-${_arch}-static + make -f Makefile.mng \ PREFIX="${_arch}-" \ WIDE=Y UTF8=Y popd - cp -a win32a build-${_arch}-shared && pushd build-${_arch}-shared - make -f mingwin32.mak \ + cp -a wingui build-${_arch}-shared && pushd build-${_arch}-shared + make -f Makefile.mng \ PREFIX="${_arch}-" \ WIDE=Y UTF8=Y DLL=Y popd @@ -56,8 +54,10 @@ package() { install build-${_arch}-shared/pdcurses.a "${pkgdir}"/usr/${_arch}/lib/libpdcurses.dll.a install build-${_arch}-static/pdcurses.a "${pkgdir}"/usr/${_arch}/lib/libpdcurses.a install -m 0644 curses.h panel.h term.h acs_defs.h "${pkgdir}"/usr/${_arch}/include/ - find "$pkgdir/usr/${_arch}" -name '*.exe' -exec rm {} \; - find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \; - find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g + find "${pkgdir}/usr/${_arch}" -name '*.exe' -exec rm {} \; + find "${pkgdir}/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \; + find "${pkgdir}/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g done } + +# vim:set ts=2 sw=2 et: |