summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0ef38f8b19be1a8e35209d3961623237cd3168b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: zhuangzhuang <xufengyuan20080802@outlook.com>
pkgname=libpiscesys-git
_pkgname=libpisces
pkgver=0.9
pkgrel=1
pkgdesc="System library for Piscesys applications"
arch=('x86_64')
url="https://gitlab.com/piscesys/libpisces"
license=('GPL')
depends=('kscreen' 'modemmanager-qt' 'networkmanager-qt' 'qt5-quickcontrols2'
         # via dbus:
         'accountsservice' 'bluez' 'bluez-qt')
makedepends=('extra-cmake-modules' 'qt5-tools' 'git')
provides=("$_pkgname")
conflicts=("$_pkgname" "libcutefish-git")
source=("git+$url.git")
sha512sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd $_pkgname

  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd $_pkgname
  DESTDIR="$pkgdir" make install
}