Skip to content

Commit 874fa31

Browse files
committed
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2 parents 4c52d64 + 3cd1d95 commit 874fa31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1052
-352
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
*.zip
66
*.rar
77
*.sig
8+
*.asc
9+
*.log
10+
*.log.[0-9]*
811
*/src/
9-
*/pkg/
12+
*/pkg/

autoconf-archive/PKGBUILD

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
2+
3+
pkgname=autoconf-archive
4+
pkgver=2016.03.20
5+
pkgrel=1
6+
pkgdesc="Autoconf Macro Archive"
7+
arch=('any')
8+
license=('GPL3')
9+
url="https://www.gnu.org/software/autoconf-archive"
10+
conflicts=(gnome-common)
11+
replaces=(gnome-common)
12+
provides=(gnome-common)
13+
source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
14+
sha256sums=('88fb2efff640eddd28a52ae550ff5561bca3bd2bba09e1d7b0580e719875e437')
15+
16+
prepare() {
17+
cd ${srcdir}/${pkgname}-${pkgver}
18+
}
19+
20+
build() {
21+
cd ${srcdir}/${pkgname}-${pkgver}
22+
./configure --prefix=/usr
23+
make
24+
}
25+
26+
package() {
27+
cd ${srcdir}/${pkgname}-${pkgver}
28+
make DESTDIR=${pkgdir} install
29+
30+
install -Dm644 COPYING $pkgdir/usr/share/licenses/${pkgname}-${pkgver}/COPYING
31+
install -Dm644 COPYING.EXCEPTION $pkgdir/usr/share/licenses/${pkgname}-${pkgver}/COPYING.EXCEPTION
32+
}

bash-completion/PKGBUILD

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
22

33
pkgname=bash-completion
4-
pkgver=2.1
5-
pkgrel=6
4+
pkgver=2.3
5+
pkgrel=1
66
pkgdesc="Programmable completion for the bash shell"
77
arch=('any')
88
url="https://bash-completion.alioth.debian.org/"
99
license=('GPL')
1010
groups=('base')
1111
depends=('bash')
1212
options=('!emptydirs' '!makeflags')
13-
source=(https://bash-completion.alioth.debian.org/files/${pkgname}-${pkgver}.tar.bz2
14-
words_bad_array_subscript.patch
13+
source=(https://github.com/scop/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz
1514
quote_readline_by_ref_fixes.patch)
16-
sha256sums=('2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f'
17-
'1c48279c796fb82a4e1ec9d52548418e455e96f079a123118dd3d6dcd9ff2964'
15+
sha256sums=('b2e081af317f3da4fff3a332bfdbebeb5514ebc6c2d2a9cf781180acab15e8e9'
1816
'f1b95da22e56909681ac05e08bfcc497cecfdad1060902ca415d54d2d0b265a3')
1917
prepare() {
2018
cd ${pkgname}-${pkgver}
21-
patch -p1 -i ${srcdir}/words_bad_array_subscript.patch
2219
patch -p1 -i ${srcdir}/quote_readline_by_ref_fixes.patch
2320

2421
autoreconf --install
@@ -34,10 +31,5 @@ package() {
3431
cd ${pkgname}-${pkgver}
3532
make DESTDIR="${pkgdir}" install
3633

37-
mkdir -p ${pkgdir}/usr/lib
38-
mv -f ${pkgdir}/usr/share/pkgconfig ${pkgdir}/usr/lib/
39-
# bash-completion is sourced in /etc/bash.bashrc so that non-bash shell don't source it
40-
# rm "${pkgdir}/etc/profile.d/bash_completion.sh"
41-
42-
rm "${pkgdir}"/usr/share/bash-completion/completions/{cal,makepkg,hexdump,look,renice}
34+
rm "${pkgdir}"/usr/share/bash-completion/completions/makepkg
4335
}

bash-completion/words_bad_array_subscript.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

bc/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ pkgdesc="An arbitrary precision calculator language"
77
arch=('i686' 'x86_64')
88
url="https://www.gnu.org/software/bc"
99
license=('GPL')
10-
depends=('gcc' 'libreadline' 'ncurses')
11-
builddepends=('libreadline-devel' 'ncurses-devel')
10+
depends=('libreadline' 'ncurses')
11+
builddepends=('gcc' 'libreadline-devel' 'ncurses-devel')
1212
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
1313
0001-Fix-readline-prototype.patch)
1414
sha256sums=('4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33'
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
--- bzr-2.6.0/bzrlib/transport/http/_urllib2_wrappers.py.orig 2014-12-14 01:00:15.240200000 +0300
2-
+++ bzr-2.6.0/bzrlib/transport/http/_urllib2_wrappers.py 2014-12-14 01:02:20.621800000 +0300
3-
@@ -79,6 +79,7 @@
1+
diff -aurN 0001/bzrlib/transport/http/_urllib2_wrappers.py 0002/bzrlib/transport/http/_urllib2_wrappers.py
2+
--- 0001/bzrlib/transport/http/_urllib2_wrappers.py 2016-04-15 17:08:16.998146000 -0300
3+
+++ 0002/bzrlib/transport/http/_urllib2_wrappers.py 2016-04-15 17:12:58.067000000 -0300
4+
@@ -88,6 +88,7 @@
45
# Note for packagers: if there is no package providing certs for your platform,
56
# the curl project produces http://curl.haxx.se/ca/cacert.pem weekly.
67
_ssl_ca_certs_known_locations = [
78
+ u'/usr/ssl/certs/ca-bundle.crt', # MSYS2
8-
u'/etc/ssl/certs/ca-certificates.crt', # Ubuntu/debian/gentoo
9-
u'/etc/pki/tls/certs/ca-bundle.crt', # Fedora/CentOS/RH
10-
u'/etc/ssl/ca-bundle.pem', # OpenSuse
9+
u'/etc/ssl/certs/ca-certificates.crt', # Ubuntu/debian/gentoo
10+
u'/etc/pki/tls/certs/ca-bundle.crt', # Fedora/CentOS/RH
11+
u'/etc/ssl/ca-bundle.pem', # OpenSuse

bzr/PKGBUILD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Maintainer: Martell Malone <martellmalone@gmail.com>
22

33
pkgname=bzr
4-
pkgver=2.6.0
5-
pkgrel=3
4+
pkgver=2.7.0
5+
pkgrel=1
66
pkgdesc="Bazaar is a version control system that helps you track project history over time and to collaborate easily with others."
77
arch=('i686' 'x86_64')
88
url="http://bazaar.canonical.com/en/"
@@ -13,10 +13,10 @@ depends=('python2')
1313
source=("https://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig}
1414
0001-setup.py-man-install.patch
1515
0002-add-msys2-certs-location.patch)
16-
sha256sums=('0994797182eb828867eee81cccc79480bd2946c99304266bc427b902cf91dab0'
16+
sha256sums=('0d451227b705a0dd21d8408353fe7e44d3a5069e6c4c26e5f146f1314b8fdab3'
1717
'SKIP'
1818
'f8b22c317e0b47b4cae024533b00ee3c682275963041b3cc7d8067ee6ca0cda3'
19-
'c4e5ea569825e8fa4acd59cce372b95f616f16656e9826b830f071133f7a9a8a')
19+
'9fa03bd856a290b3d90eb83e6f5238aed3da475aec263e83a2da54197aa09f53')
2020

2121
prepare(){
2222
cd "${srcdir}/${pkgname}-${pkgver}"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
diff -urN ccache-3.2.4.orig/ccache.h ccache-3.2.4/ccache.h
2+
--- ccache-3.2.4.orig/ccache.h 2015-10-08 21:14:23.000000000 +0200
3+
+++ ccache-3.2.4/ccache.h 2016-04-17 19:42:45.063373100 +0200
4+
@@ -248,8 +248,9 @@
5+
#endif
6+
7+
/* mkstemp() on some versions of cygwin don't handle binary files, so
8+
- override */
9+
-#ifdef __CYGWIN__
10+
+ override,
11+
+ however MSYS2 is fine */
12+
+#if defined(__CYGWIN__) && !defined(__MSYS__)
13+
#undef HAVE_MKSTEMP
14+
#endif
15+
16+
diff -urN ccache-3.2.4.orig/lockfile.c ccache-3.2.4/lockfile.c
17+
--- ccache-3.2.4.orig/lockfile.c 2015-10-08 21:14:23.000000000 +0200
18+
+++ ccache-3.2.4/lockfile.c 2016-04-17 19:38:29.151513300 +0200
19+
@@ -36,7 +36,7 @@
20+
char *my_content = NULL, *content = NULL, *initial_content = NULL;
21+
const char *hostname = get_hostname();
22+
bool acquired = false;
23+
-#ifdef _WIN32
24+
+#if defined(_WIN32) || defined(__MSYS__)
25+
const size_t bufsize = 1024;
26+
int fd, len;
27+
#else
28+
@@ -48,7 +48,7 @@
29+
free(my_content);
30+
my_content = format("%s:%d:%d", hostname, (int)getpid(), (int)time(NULL));
31+
32+
-#ifdef _WIN32
33+
+#if defined(_WIN32) || defined(__MSYS__)
34+
fd = open(lockfile, O_WRONLY|O_CREAT|O_EXCL|O_BINARY, 0666);
35+
if (fd == -1) {
36+
saved_errno = errno;

ccache/PKGBUILD

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Maintainer: Mateusz Mikuła <mati865@gmail.com>
2+
3+
pkgname=ccache
4+
pkgver=3.2.4
5+
pkgrel=1
6+
pkgdesc="A compiler cache (mingw-w64)"
7+
arch=('i686' 'x86_64')
8+
url="https://ccache.samba.org/"
9+
license=("GPL3")
10+
replaces=("${pkgname}-git")
11+
makedepends=("gcc" "pkg-config")
12+
depends=("gcc-libs" "zlib")
13+
options=('staticlibs' 'strip')
14+
source=(https://samba.org/ftp/ccache/${pkgname}-${pkgver}.tar.bz2{,.asc}
15+
"MSYS2-dont-use-symlinks.patch")
16+
sha256sums=('ffeb967edb549e67da0bd5f44f729a2022de9fdde65dfd80d2a7204d7f75332e'
17+
'SKIP'
18+
'a0d2ea2ef1c9e59d4e5fdd659d291a4c7f4afc48ad50b1bc00f77349337d3167')
19+
20+
prepare() {
21+
cd ${pkgname}-${pkgver}
22+
#./autogen.sh
23+
24+
patch -p1 -i ${srcdir}/MSYS2-dont-use-symlinks.patch
25+
}
26+
27+
build() {
28+
[[ -d build-${CHOST} ]] && rm -rf build-${CHOST}
29+
mkdir -p build-${CHOST} && cd build-${CHOST}
30+
../${pkgname}-${pkgver}/configure \
31+
--prefix=/usr \
32+
--build=${CHOST} \
33+
--host=${CHOST} \
34+
--target=${CHOST}
35+
make
36+
}
37+
38+
package() {
39+
cd "${srcdir}/build-${CHOST}"
40+
make DESTDIR="${pkgdir}" install
41+
42+
install -d ${pkgdir}/usr/lib/ccache/bin
43+
cd ${pkgdir}/usr/lib/ccache/bin
44+
scripts=(c++ cc cpp gcc g++ ${CARCH}-pc-msys-g++ ${CARCH}-pc-msys-c++ ${CARCH}-pc-msys-gcc)
45+
for fn in ${scripts[*]}; do
46+
echo -e '#!/bin/bash\n\nccache /usr/bin/'$fn' "$@"' > $fn
47+
done
48+
}

curl/PKGBUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
pkgbase=curl
44
pkgname=('curl' 'libcurl' 'libcurl-devel')
5-
pkgver=7.47.1
6-
pkgrel=2
5+
pkgver=7.48.0
6+
pkgrel=1
77
pkgdesc="Multi-protocol file transfer utility"
88
arch=('i686' 'x86_64')
99
url="https://curl.haxx.se"
@@ -13,7 +13,7 @@ makedepends=('heimdal-devel' 'libmetalink-devel' 'libcrypt-devel' 'libidn-devel'
1313
options=('!libtool' 'strip' '!debug')
1414
source=("https://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2"{,.asc}
1515
curl-7.32.0-msys2.patch)
16-
sha256sums=('ddc643ab9382e24bbe4747d43df189a0a6ce38fcb33df041b9cb0b3cd47ae98f'
16+
sha256sums=('864e7819210b586d42c674a1fdd577ce75a78b3dda64c63565abe5aefd72c753'
1717
'SKIP'
1818
'703963690bfa95b92e8281b7d9070a12c18bada044c3a7c9995fe9ae5adc5a8f')
1919
validpgpkeys=('914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg

0 commit comments

Comments
 (0)