Date: Monday, October 4, 2021 @ 11:59:16 Author: arodseth Revision: 1027300
Add a compatibility layer for GTK+2 Added: gtk2-compat/ gtk2-compat/repos/ gtk2-compat/repos/community-any/ gtk2-compat/trunk/ gtk2-compat/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: gtk2-compat/trunk/PKGBUILD =================================================================== --- gtk2-compat/trunk/PKGBUILD (rev 0) +++ gtk2-compat/trunk/PKGBUILD 2021-10-04 11:59:16 UTC (rev 1027300) @@ -0,0 +1,30 @@ +# Maintainer: Alexander <[email protected]> + +pkgname=gtk2-compat +pkgver=1.0.0 +pkgrel=1 +pkgdesc='Simulates the presence of GTK+2, but tries to use GTK+3' +arch=(any) +url='https://github.com/openSUSE/gtk2-compat' +license=(GPL2) +depends=(gtk3) +provides=(gtk2) +conflicts=(gtk2) +makedepends=(git) +source=("git+$url#commit=24913dc1b4ec13b870e87399fda1ae050f1d4eee") # no tags available, this is master from 2015-03-11 +b2sums=(SKIP) + +prepare() { + cd $pkgname + autoreconf -fiv +} + +build() { + cd $pkgname + ./configure --prefix=/usr + make +} + +package() { + DESTDIR="$pkgdir" make -C $pkgname install +}
