diff options
author | Gustavo Castro | 2017-11-08 05:53:49 -0600 |
---|---|---|
committer | Gustavo Castro | 2017-11-08 05:53:49 -0600 |
commit | 7d60ecf68145805dc9d6693ba091e45a1d72b794 (patch) | |
tree | be58d8bfe5aced3a6f9d3a3879eff2b314d53b86 /PKGBUILD | |
download | aur-7d60ecf68145805dc9d6693ba091e45a1d72b794.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5a6e322dbfa5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > + +pkgname=plasmate-git +pkgver=r. +pkgrel=1 +pkgdesc="Plasma Applet Development Environment " +arch=('i686' 'x86_64') +url="https://community.kde.org/Plasma/PlasMate" +license=('GPL') +depends=('plasma-sdk') +makedepends=('git' 'extra-cmake-modules') +conflicts=("plasmate") +provides=("plasmate") +source=("git+git://anongit.kde.org/plasmate.git") +md5sums=('SKIP') + +pkgver() { + cd "${_gitpkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir"/plasmate + + mkdir -p build + cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE_INSTALL_LIBDIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +} + +package() { + cd "$srcdir"/plasmate/build + make install DESTDIR="${pkgdir}" +} |