diff options
author | Antonio Rojas | 2017-05-04 18:12:49 +0000 |
---|---|---|
committer | Antonio Rojas | 2017-05-04 18:12:49 +0000 |
commit | ddc799200f5e37d600613d4fb1a95dda63f09f5d (patch) | |
tree | 5db33a59fc5e31902c4c6d45af55967e10d9909d /PKGBUILD | |
download | aur-ddc799200f5e37d600613d4fb1a95dda63f09f5d.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4c5f496fa702 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Antonio Rojas <arojas@archlinux.org> + +_gitname=plasma-browser-integration +pkgname=$_gitname-git +pkgver=r124.08a78f1 +pkgrel=1 +pkgdesc='Google Now alternative for the Plasma Desktop' +arch=(i686 x86_64) +url='http://www.kde.org' +license=(GPL) +depends=(krunner) +makedepends=(extra-cmake-modules git python) +conflicts=(plasma-browser-integration) +provides=(plasma-browser-integration) +source=("git://git.kde.org/$_gitname.git") +sha256sums=('SKIP') + +pkgver() { + cd $_gitname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$_gitname \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE_INSTALL_LIBDIR=lib + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |