--- /dev/null
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_realname=libgrss
+pkgbase=mingw-w64-${_realname}
+pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
+pkgver=0.7.0
+pkgrel=1
+arch=('any')
+pkgdesc="A Glib-based library to manage RSS and Atom feeds (mingw-w64)"
+depends=("${MINGW_PACKAGE_PREFIX}-glib2"
+ "${MINGW_PACKAGE_PREFIX}-gtk3"
+ "${MINGW_PACKAGE_PREFIX}-cairo"
+ "${MINGW_PACKAGE_PREFIX}-lcms2"
+ "${MINGW_PACKAGE_PREFIX}-libarchive"
+ "${MINGW_PACKAGE_PREFIX}-libjpeg"
+ "${MINGW_PACKAGE_PREFIX}-libxslt"
+ "${MINGW_PACKAGE_PREFIX}-libpng")
+makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
+ "${MINGW_PACKAGE_PREFIX}-pkg-config"
+ "make"
+ "intltool"
+ "gettext-devel")
+options=('strip' 'staticlibs')
+license=("LGPL 2.1")
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/${pkgver:0:3}/${_realname}-${pkgver}.tar.xz
+ 001-win.patch)
+sha256sums=('6709c0f630a915ea7d5f1ac88ac173ef974d8d7406f43bd4be70d3e71fd554d9'
+ '9965979ea78b5bcdee6d5442b1273d27dba70f55e6f9adb0219a54b7e78dfd61')
+
+prepare() {
+ cd ${_realname}-${pkgver}
+ patch -p1 -i ${srcdir}/001-win.patch
+
+ autoreconf -fi
+}
+
+build() {
+ [[ -d build-${MINGW_CHOST} ]] && rm -rf build-${MINGW_CHOST}
+ mkdir -p build-${MINGW_CHOST}
+ cd build-${MINGW_CHOST}
+
+ mkdir -p doc/reference/html
+ cp -rf ../${_realname}-${pkgver}/doc/reference/html/* doc/reference/html
+
+ ../${_realname}-${pkgver}/configure \
+ --host=${MINGW_CHOST} \
+ --target=${MINGW_CHOST} \
+ --build=${MINGW_CHOST} \
+ --prefix=${MINGW_PREFIX} \
+ --libexecdir=${MINGW_PREFIX}/lib
+
+ make
+}
+
+package() {
+ cd "${srcdir}/build-${MINGW_CHOST}"
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
+}