diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2019-02-18 12:45:28 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2019-02-18 12:45:28 +0300 |
| commit | 64e2232d37cb94e8a47a9b72c205eb4385261eb4 (patch) | |
| tree | 3da3d17b3502bfe735284ec88f466aeeb0715c49 /libwnck/PKGBUILD | |
| parent | d4487d76c1d7e5f943b724b8bd461ed7e1648beb (diff) | |
libwnck
Diffstat (limited to 'libwnck/PKGBUILD')
| -rw-r--r-- | libwnck/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libwnck/PKGBUILD b/libwnck/PKGBUILD new file mode 100644 index 0000000..fd67b98 --- /dev/null +++ b/libwnck/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=libwnck +pkgver=2.31.0 +pkgrel=2 +pkgdesc="Window Navigator Construction Kit" +arch=('x86_64') +license=('LGPL') +depends=('gtk2' 'startup-notification' 'libxres') +makedepends=('libxt' 'intltool' 'gobject-introspection' 'python2') +url="http://www.gnome.org/" +source=(https://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz + Unhandled-action-type.patch + WindowActionMenu-unset-window-and-stop-async-events-on-dispose.patch) +sha512sums=('54262a08882021f08f3ba7f2ddfa33fc1f02e391a0f61cf999a50a089e0d277dfe13ab133c1a46e9abf0599bd24c21dacff80b51013cbb1375d2cd71ac9abbe9' + 'SKIP' + '1ba6ee8503e71daf103b7285ce0690042ebd86a4b85728a04ff32e6ee5789d2be71ba32149b0c246518bc47a27a233edfa9cfac9eca16cc44b3c6c8d19943423') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../WindowActionMenu-unset-window-and-stop-async-events-on-dispose.patch + patch -Np1 -i ../Unhandled-action-type.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" +} |
