diff --git a/mingw-w64-geany-plugins/PKGBUILD b/mingw-w64-geany-plugins/PKGBUILD new file mode 100644 index 0000000000..8821b6b799 --- /dev/null +++ b/mingw-w64-geany-plugins/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor (MSYS2): David Macek +# Maintainer (Arch Linux): Alexander Rødseth +# Contributor (Arch Linux): Angel 'angvp' Velasquez +# Contributor (Arch Linux): djgera +# Contributor (Arch Linux): Patrick Melo + +_realname=geany-plugins +pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" +pkgver=1.29 +pkgrel=1 +pkgdesc='Plugins for Geany (mingw-w64)' +arch=('any') +url='http://plugins.geany.org/' +license=('GPL') +depends=("${MINGW_PACKAGE_PREFIX}-geany>=${pkgver}" + "${MINGW_PACKAGE_PREFIX}-gtkspell" + "${MINGW_PACKAGE_PREFIX}-webkitgtk2" + "${MINGW_PACKAGE_PREFIX}-ctpl" + "${MINGW_PACKAGE_PREFIX}-gpgme" +# "${MINGW_PACKAGE_PREFIX}-vte" + "${MINGW_PACKAGE_PREFIX}-lua51" + "${MINGW_PACKAGE_PREFIX}-gtk2" + "${MINGW_PACKAGE_PREFIX}-hicolor-icon-theme") +makedepends=('intltool' + "${MINGW_PACKAGE_PREFIX}-vala" + "${MINGW_PACKAGE_PREFIX}-gdb" + "${MINGW_PACKAGE_PREFIX}-gcc") +# "${MINGW_PACKAGE_PREFIX}-cppcheck") +# optdepends=("${MINGW_PACKAGE_PREFIX}-hspell: hebrew spell checker") +install="${_realname}-${CARCH}.install" +source=("http://plugins.geany.org/${_realname}/${_realname}-${pkgver}.tar.bz2") +sha256sums=('2827e0cf8f58a45759c82b690af5401dbd3ea0ec8dac310e4caea55547637bd7') + +build() { + mkdir -p "build-${MINGW_CHOST}" + cd "build-${MINGW_CHOST}" + + ../${_realname}-${pkgver}/configure \ + --host=${MINGW_CHOST} \ + --target=${MINGW_CHOST} \ + --build=${MINGW_CHOST} \ + --prefix=${MINGW_PREFIX} \ + --libexecdir=${MINGW_PREFIX}/lib \ + --disable-static + make +} + +package() { + cd "build-${MINGW_CHOST}" + make DESTDIR="${pkgdir}" install +} diff --git a/mingw-w64-geany-plugins/geany-plugins-i686.install b/mingw-w64-geany-plugins/geany-plugins-i686.install new file mode 100644 index 0000000000..da50a72875 --- /dev/null +++ b/mingw-w64-geany-plugins/geany-plugins-i686.install @@ -0,0 +1,11 @@ +post_install() { + mingw32/bin/gtk-update-icon-cache -q -t -f mingw32/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/mingw-w64-geany-plugins/geany-plugins-x86_64.install b/mingw-w64-geany-plugins/geany-plugins-x86_64.install new file mode 100644 index 0000000000..4a2bb1bb75 --- /dev/null +++ b/mingw-w64-geany-plugins/geany-plugins-x86_64.install @@ -0,0 +1,11 @@ +post_install() { + mingw64/bin/gtk-update-icon-cache -q -t -f mingw64/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}