makedeb


libcutefish 0.4-1


System library for Cutefish applications

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for libcutefish.

# Contributor: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Maksym Titenko <titenko.m@gmail.com>
# Maintainer: Aryan Pathania <aynp>

pkgname=libcutefish
pkgver=0.4
pkgrel=1
pkgdesc="System library for Cutefish applications"
arch=('x86_64')
url="https://github.com/cutefishos/libcutefish"
control_fields=("MPR-Package: ${pkgname}")
license=('GPL')
depends=(
'libc6'
'libgcc-s1'
'libkf5bluezqt6'
'libkf5coreaddons5'
'libkf5networkmanagerqt6'
'libkf5screen-bin'
'libkf5screen7'
'libqt5core5a'
'libqt5dbus5'
'libqt5gui5'
'libqt5network5'
'libqt5qml5'
'libqt5sensors5'
'libstdc++6'
         # via dbus:
         'accountsservice' 'bluez')
makedepends=(
'extra-cmake-modules'
'ninja-build'
'libkf5networkmanagerqt-dev'
'libkf5kio-dev'
'libkf5screen-dev'
'libkf5bluezqt-dev'
'modemmanager-qt-dev'
'libqt5sensors5-dev'
'qtbase5-dev'
'qtdeclarative5-dev'
'qtquickcontrols2-5-dev'
'qttools5-dev'
'qttools5-dev-tools')
source=("${pkgname}::git+https://github.com/cutefishos/$pkgname.git")
md5sums=('SKIP')

build() {
  cd $pkgname

  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
  ninja
}

package() {
  cd $pkgname
  DESTDIR="$pkgdir" ninja install
}