blob: b52f2476dc5df26bc97800ff13ea3364ae8fbc72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=mingw-w64-json-glib-bin
pkgver=1.6.4
pkgrel=1
pkgdesc="JSON-GLib implements a full suite of JSON-related tools using GLib and GObject (mingw-w64)"
arch=('any')
url="https://www.gnome.org"
license=('custom')
depends=('mingw-w64-glib2')
provides=('mingw-w64-json-glib')
source=("http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-json-glib-${pkgver}-${pkgrel}-any.pkg.tar.zst")
sha256sums=('00506a21662582678a0ae51e98e757b97060076ba1fcc1a9238fd71f31c3326f')
_architectures="x86_64-w64-mingw32"
package() {
cd "${srcdir}/mingw64"
for _arch in ${_architectures}; do
mkdir -p ./* $pkgdir/usr/${_arch}/
sed -i -e "s|/mingw64|/usr/${_arch}|" ./lib/pkgconfig/*
cp -r ./* $pkgdir/usr/${_arch}/
done
}
|