mirror of
https://aur.archlinux.org/kfiredragonhelper.git
synced 2024-12-26 12:44:13 +00:00
26 lines
698 B
Bash
26 lines
698 B
Bash
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")
|
|
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"
|
|
}
|
|
|