commit b35bbdf9b56a843145f411b0b2aa8e43ecf0bd71 Author: dr460nf1r3 Date: Mon Apr 12 13:34:52 2021 +0200 Initial upload diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..0acad92 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = kfiredragonhelper + pkgdesc = FireDragon Integration (kmozillahelper from openSUSE). + pkgver = 5.0.5 + pkgrel = 1 + url = https://github.com/openSUSE/kmozillahelper + arch = i686 + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = extra-cmake-modules + makedepends = git + depends = kio + depends = knotifications + depends = kwindowsystem + depends = ki18n + source = git+https://gitlab.com/dr460nf1r3/kfiredragonhelper.git + md5sums = SKIP + +pkgname = kfiredragonhelper diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..d4fe8c7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +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" +} +