diff options
author | Bartek | 2017-04-26 16:38:53 +0200 |
---|---|---|
committer | Bartek | 2017-04-26 16:38:53 +0200 |
commit | 7f884d63a6ba12a186f34365c1589a6fa1d32f4a (patch) | |
tree | 59b8f7e098ef567557c6203403f8fde69e9cdb04 | |
download | aur-7f884d63a6ba12a186f34365c1589a6fa1d32f4a.tar.gz |
AUR
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..abf5181ef2b9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = kwaterfoxhelper + pkgdesc = Waterfox KDE Plasma Integration + pkgver = 5.0.1.2 + pkgrel = 1 + url = https://github.com/hawkeye116477/kwaterfoxhelper + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = extra-cmake-modules + makedepends = python + depends = ki18n + depends = kio + depends = knotifications + depends = kwindowsystem + options = !emptydirs + options = !strip + source = kwaterfoxhelper-5.0.1.2.tar.gz::https://github.com/hawkeye116477/kwaterfoxhelper/archive/v5.0.1.2.tar.gz + sha256sums = d436c0e6e501cbad82bdd508dc67762955de3285b0c54b6cf22a71f4de1d8919 + +pkgname = kwaterfoxhelper + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2c14f5cf5585 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: hawkeye116477 <hawkeye116477 at gmail dot com> + +pkgname=kwaterfoxhelper +pkgver=5.0.1.2 +pkgrel=1 +pkgdesc="Waterfox KDE Plasma Integration" +url="https://github.com/hawkeye116477/kwaterfoxhelper" +arch=("x86_64") +license=('MIT') +depends=('ki18n' 'kio' 'knotifications' 'kwindowsystem') +makedepends=('cmake' 'extra-cmake-modules' 'python') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hawkeye116477/kwaterfoxhelper/archive/v${pkgver}.tar.gz") +options=('!emptydirs' '!strip') + +prepare() { + if [[ -d build ]]; then + rm -Rf build + fi + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr +make +} + +package() { + make -C build DESTDIR="$pkgdir" install + install -Dm644 $pkgname-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} +sha256sums=('d436c0e6e501cbad82bdd508dc67762955de3285b0c54b6cf22a71f4de1d8919') |