glade-gtk2: port to hooks

This commit is contained in:
Christoph Reiter
2020-10-27 23:09:53 +01:00
parent f1fa7437b7
commit d2d0801b8d
3 changed files with 2 additions and 24 deletions

View File

@@ -4,7 +4,7 @@ _realname=glade
pkgbase="mingw-w64-${_realname}-gtk2"
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-gtk2"
pkgver=3.8.6
pkgrel=3
pkgrel=4
pkgdesc="User interface builder for GTK+ and GNOME (mingw-w64)"
arch=('any')
url="https://glade.gnome.org/"
@@ -13,6 +13,7 @@ options=('strip' '!debug' 'staticlibs')
replaces=("${MINGW_PACKAGE_PREFIX}-glade3")
conflicts=("${MINGW_PACKAGE_PREFIX}-glade3")
depends=("${MINGW_PACKAGE_PREFIX}-gtk2"
"${MINGW_PACKAGE_PREFIX}-gtk-update-icon-cache"
"${MINGW_PACKAGE_PREFIX}-libxml2")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-pkg-config"
@@ -21,7 +22,6 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-docbook-xsl"
"${MINGW_PACKAGE_PREFIX}-gnome-common"
"intltool")
install=glade3-${CARCH}.install
source=(https://download.gnome.org/sources/${_realname}/${pkgver%.*}/${_realname}3-${pkgver}.tar.xz
'disable-yelp.patch')
sha256sums=('aaeeebffaeb3068fb23757a2eede46adeb4c7cecc740feed7654e065491f5449'

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
}