2021-04-12 11:34:52 +00:00
|
|
|
pkgname=kfiredragonhelper
|
|
|
|
pkgver=5.0.5
|
|
|
|
pkgrel=1
|
|
|
|
#epoch=1
|
|
|
|
pkgdesc="FireDragon Integration (kmozillahelper from openSUSE)."
|
|
|
|
url="https://github.com/openSUSE/kmozillahelper"
|
|
|
|
arch=("i686" "x86_64")
|
|
|
|
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
|
2021-05-17 17:40:09 +00:00
|
|
|
cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release ../${pkgname}
|
2021-04-12 11:34:52 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make -C build DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 "$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|
|
|
|
|