# Maintainer: Jeff_WuYo <62562200+Jeff-WuYo@users.noreply.github.com> # Contributor: The-Repo-Club pkgname=qt6gtk2 pkgver=0.2 pkgrel=3 pkgdesc='GTK+2.0 integration plugins for Qt6' arch=('any') groups=('therepoclub') url='https://github.com/trialuser02/qt6gtk2' license=(GPL2) conflicts=($pkgname-git) depends=(qt6-base gtk2 libx11) source=("${pkgname}-$pkgver.tar.gz::${url}/releases/download/$pkgver/$pkgname-$pkgver.tar.xz" "${pkgname}.hook") sha256sums=('22596853eb3ea663d8f28fb40d97195428b883ec571365ce1b03437f5c75f6bc' '9c60620868ce7dc469985cdde56332e28ce9f60dd13d6dfa516e8d1ef94c7673') build() { cd $pkgname-$pkgver /usr/lib/qt6/bin/qmake PREFIX=/usr make } package() { cd $pkgname-$pkgver make INSTALL_ROOT="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -Dm644 "$srcdir/${pkgname}.hook" "$pkgdir/usr/share/libalpm/hooks/90-${pkgname}.hook" }