pkgname=kfiredragonhelper pkgver=5.0.6 pkgrel=1 #epoch=1 pkgdesc="FireDragon Integration (kmozillahelper from openSUSE)." url="https://github.com/openSUSE/kmozillahelper" arch=("i686" "x86_64" "x86_64_v3") license=('MIT') depends=("kio" "knotifications" "kwindowsystem" "ki18n") makedepends=("cmake" "extra-cmake-modules" "git") source=(git+https://gitlab.com/dr460nf1r3/kfiredragonhelper.git) md5sums=('SKIP') build() { mkdir -p build cd build cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release ../${pkgname} make } package() { make -C build DESTDIR="$pkgdir" install install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }