libpeas: port to hooks

This commit is contained in:
Christoph Reiter
2020-10-27 22:21:34 +01:00
parent 28ad362709
commit c418075fa7
3 changed files with 2 additions and 24 deletions

View File

@@ -4,7 +4,7 @@ _realname=libpeas
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.28.0
pkgrel=2
pkgrel=3
pkgdesc="A GObject-based plugins engine (mingw-w64)"
arch=('any')
url="https://www.gtk.org/"
@@ -20,9 +20,9 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-gtk3"
"${MINGW_PACKAGE_PREFIX}-adwaita-icon-theme"
"${MINGW_PACKAGE_PREFIX}-gtk-update-icon-cache"
)
options=('strip' 'staticlibs')
install=${_realname}-${CARCH}.install
source=(https://download.gnome.org/sources/${_realname}/${pkgver:0:4}/${_realname}-${pkgver}.tar.xz
fix-build.patch)
sha256sums=('42d91993b46ed50f16add6d9577ecc22beb8e2dffa7101e2232c2b63733b8b15'

View File

@@ -1,11 +0,0 @@
post_install() {
mingw32/bin/gtk-update-icon-cache-3.0 -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-3.0 -q -t -f mingw64/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}