kfiredragonhelper/PKGBUILD

26 lines
678 B
Bash
Raw Normal View History

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
cmake -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"
}