geany-plugins: port to hooks

This commit is contained in:
Christoph Reiter
2020-10-28 08:56:51 +01:00
parent feb7402b05
commit f0eb4cee2f
3 changed files with 2 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ _realname=geany-plugins
pkgbase="mingw-w64-${_realname}"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.37.0
pkgrel=1
pkgrel=2
pkgdesc='Plugins for Geany (mingw-w64)'
arch=('any')
url='https://plugins.geany.org/'
@@ -22,6 +22,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-geany>=${pkgver}"
"${MINGW_PACKAGE_PREFIX}-lua51"
"${MINGW_PACKAGE_PREFIX}-gtk3"
"${MINGW_PACKAGE_PREFIX}-libgit2"
"${MINGW_PACKAGE_PREFIX}-gtk-update-icon-cache"
"${MINGW_PACKAGE_PREFIX}-hicolor-icon-theme")
makedepends=('intltool'
"${MINGW_PACKAGE_PREFIX}-vala"
@@ -29,7 +30,6 @@ makedepends=('intltool'
"${MINGW_PACKAGE_PREFIX}-gcc")
# "${MINGW_PACKAGE_PREFIX}-cppcheck")
# optdepends=("${MINGW_PACKAGE_PREFIX}-hspell: hebrew spell checker")
install="${_realname}-${CARCH}.install"
source=(#"https://plugins.geany.org/${_realname}/${_realname}-${pkgver}.tar.bz2"
${_realname}-${pkgver}.tar.gz::https://github.com/geany/geany-plugins/archive/${pkgver}.tar.gz
001-no-undefined.patch)

View File

@@ -1,11 +0,0 @@
post_install() {
mingw32/bin/gtk-update-icon-cache -q -t -f mingw32/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@@ -1,11 +0,0 @@
post_install() {
mingw64/bin/gtk-update-icon-cache -q -t -f mingw64/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}