diff options
author | Jan Neumann | 2017-12-15 21:02:42 +0100 |
---|---|---|
committer | Jan Neumann | 2017-12-15 21:02:42 +0100 |
commit | c57bc11686f1b9f5ad9079659291e740caddc852 (patch) | |
tree | ada0b047ca9700f7b1340d5eab14068d94c9f20f /PKGBUILD | |
parent | 62089f7b1912297e7e2dfc768a0da78d6a1495dc (diff) | |
download | aur-c57bc11686f1b9f5ad9079659291e740caddc852.tar.gz |
some fixes and include makefile
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -4,38 +4,38 @@ pkgname=liquidshell-git _gitname=liquidshell -pkgver=r65.87b14e3 +pkgver=r97.f8f17c8 pkgrel=1 pkgdesc='liquidshell is an alternative to plasmashell' arch=('x86_64') url='https://cgit.kde.org/liquidshell.git/' license=('GPL3') -depends=('networkmanager-qt' 'bluez-qt' 'kcmutils' 'knewstuff') -makedepends=('cmake' 'extra-cmake-modules' 'git') +depends=('networkmanager-qt' 'bluez-qt' 'kcmutils' 'knewstuff' 'packagekit-qt5' 'hicolor-icon-theme') +makedepends=('cmake' 'extra-cmake-modules' 'git' 'ruby' 'svn') optdepends=('ksysguard' 'kconfig') source=("git://anongit.kde.org/liquidshell.git") sha256sums=('SKIP') pkgver() { - - cd ${_gitname} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd ${_gitname} + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - - cd ${_gitname} - mkdir build && cd build - cmake .. - - make + cd ${_gitname} + + mkdir build && cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr + make fetch-translations + } package() { - - install -Dm755 ${_gitname}/build/liquidshell ${pkgdir}/usr/bin/liquidshell - install -Dm644 ${_gitname}/COPYING ${pkgdir}/usr/share/licenses/liquidshell/LICENSE + +make -C ${_gitname}/build DESTDIR=${pkgdir} install } |