Advertisement
Guest User

liquidshell PKGBUILD

a guest
Apr 25th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.37 KB | None | 0 0
  1.  
  2. pkgname=liquidshell
  3. pkgver=0.0.1
  4. _commit=48157f9f1d1b8959a21cad5fe0748c7d9cb8086c
  5. pkgrel=2
  6. pkgdesc="Alternative desktop replacement for Plasma, using QtWidgets instead of QtQuick."
  7. arch=('x86_64')
  8. url='https://github.com/KDE/liquidshell'
  9. license=('LGPL')
  10. depends=('kwindowsystem' 'kwidgetsaddons' 'kconfigwidgets' 'kconfig' 'kio' 'kiconthemes'
  11.          'kitemviews' 'karchive' 'knotifications' 'ki18n' 'networkmanager-qt' 'kservice'
  12.          'solid' 'bluez-qt' 'kcmutils' 'kcrash' 'kdbusaddons' 'knewstuff')
  13. makedepends=('extra-cmake-modules' 'kdoctools')
  14. source=("https://github.com/KDE/liquidshell/archive/${_commit}.zip")
  15. md5sums=('cab4c4a8002131f35cedc2479db3b665')
  16.  
  17. prepare() {
  18.   cd ${pkgname}-${_commit}
  19.  
  20.   #sed -i -e 's|setThemeIcon("start-here-kde")|setThemeIcon("/usr/share/icons/midna/apps/scalable/kaos.svg")|' StartMenu.cxx
  21.   sed -i -e 's|http://www.kde.org|https://kaosx.us/|' QuickLaunch.cxx
  22.  
  23.   git apply ../../liquidshell.patch
  24. }
  25.  
  26. build() {
  27.   mkdir -p build
  28.   cd build
  29.  
  30.   cmake ../${pkgname}-${_commit} \
  31.     -DCMAKE_INSTALL_PREFIX=/usr \
  32.     -DCMAKE_BUILD_TYPE=Release \
  33.     -DCMAKE_INSTALL_LIBDIR=lib \
  34.     -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
  35.     -DKDE_INSTALL_QMLDIR=/usr/lib/qt5/qml \
  36.     -DKDE_INSTALL_PLUGINDIR=/usr/lib/qt5/plugins \
  37.     -DBUILD_TESTING=OFF
  38.   make
  39. }
  40.  
  41. package() {
  42.   cd build
  43.  
  44.   make DESTDIR=${pkgdir} install
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement