# Maintainer: pkgname=apk-gtk3 pkgver=0.1 pkgrel=1 pkgdesc="gtk+3.0 frontend to apk" options="!check" # No testsuite url="https://github.com/kaniini/apk-gtk" arch="all" license="MIT" makedepends="gtk+3.0-dev vte3-dev" subpackages="$pkgname-policy::noarch" source="$pkgname-$pkgver.tar.gz::https://github.com/kaniini/apk-gtk/archive/v$pkgver.tar.gz" builddir="$srcdir/apk-gtk-$pkgver" build() { make GTK_VERSION=3 } package() { depends="$pkgname-policy" make GTK_VERSION=3 DESTDIR="$pkgdir" install } policy() { depends="" pkgdesc="gtk+ frontend to apk (policykit policy)" mkdir -p "$subpkgdir"/usr/share mv "$pkgdir"/usr/share/polkit-1 "$subpkgdir"/usr/share/polkit-1 } sha512sums="1e620f53f759d4c73edf66505fa17d9034edbe99f75764ba0e3cf75dd292451dd53784f1150cc6c6021e5b2a6e92a0f3cade75b32e6930207b9e60306606561e apk-gtk3-0.1.tar.gz"