mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
|
||
|
# remove when bumped upstream
|
||
|
|
||
|
pkgname=libwnck
|
||
|
pkgver=2.31.0
|
||
|
pkgrel=3
|
||
|
pkgdesc="Window Navigator Construction Kit"
|
||
|
arch=('x86_64')
|
||
|
license=('LGPL')
|
||
|
depends=('gtk2' 'startup-notification' 'libxres')
|
||
|
makedepends=('libxt' 'intltool' 'gobject-introspection')
|
||
|
url="https://www.gnome.org/"
|
||
|
source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz
|
||
|
WindowActionMenu-unset-window-and-stop-async-events-on-dispose.patch)
|
||
|
sha512sums=('54262a08882021f08f3ba7f2ddfa33fc1f02e391a0f61cf999a50a089e0d277dfe13ab133c1a46e9abf0599bd24c21dacff80b51013cbb1375d2cd71ac9abbe9'
|
||
|
'1ba6ee8503e71daf103b7285ce0690042ebd86a4b85728a04ff32e6ee5789d2be71ba32149b0c246518bc47a27a233edfa9cfac9eca16cc44b3c6c8d19943423')
|
||
|
|
||
|
prepare() {
|
||
|
cd $pkgname-$pkgver
|
||
|
patch -Np1 -i ../WindowActionMenu-unset-window-and-stop-async-events-on-dispose.patch
|
||
|
}
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr --sysconfdir=/etc \
|
||
|
--localstatedir=/var --disable-static
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
|
||
|
#The binaries are shipped in libwnck3
|
||
|
rm -f "${pkgdir}/usr/bin/wnckprop"
|
||
|
rm -f "${pkgdir}/usr/bin/wnck-urgency-monitor"
|
||
|
rmdir "${pkgdir}/usr/bin"
|
||
|
}
|