blob: 3cdcf9c1f196a41fa03790dcd90a8312c7b279f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: FadeMind <fademin@gmail.com>
# Contributor: Ramon Buldó <ramon@manjaro.org>
# Contributor: Weng Xuetian <wengxt@gmail.com>
# Contributor: Yegorius <yegorius@domic.us>
pkgname=kmozillahelper
pkgver=0.6.5
pkgrel=1
pkgdesc="Mozilla KDE Integration"
url="https://github.com/openSUSE/$pkgname"
arch=('i686' 'x86_64')
license=('MIT')
depends=('ki18n' 'kio' 'knotifications' 'kwindowsystem')
makedepends=('cmake' 'extra-cmake-modules' 'python')
_gitcommit=83cd08e0c917fda16b30d91f929779304c46d273
source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/$_gitcommit.tar.gz")
sha256sums=('987b9a5b35e5f6bef36830184bd0ab2f200a7d7525216320a379ed1a1ef24b0f')
prepare() {
mv $srcdir/$pkgname-$_gitcommit $srcdir/$pkgname
mkdir -p build
}
build() {
cd build
cmake ../$pkgname \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
cd ../$pkgname
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|