summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5077a1a1b160e2334e526d38d40dcc556ab0447f (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
# Maintainer: justforlxz <justforlxz@gmail.com>

pkgname=deepin-qt-dbus-factory-git
pkgver=6.0.0.r5.gc516e3e
pkgrel=1
pkgdesc='A repository stores auto-generated Qt5 dbus code (libdframeworkdbus)'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dde-qt-dbus-factory"
license=('GPL3')
depends=('qt5-base' 'dtkcore')
makedepends=('git' 'python')
conflicts=('deepin-qt-dbus-factory')
provides=('deepin-qt-dbus-factory')
groups=('deepin-git')
source=("$pkgname::git+https://github.com/linuxdeepin/dde-qt-dbus-factory.git")
sha512sums=('SKIP')

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

build() {
  cd $pkgname
  qmake-qt5 PREFIX=/usr
  make -j$(nproc)
}

package() {
  cd $pkgname
  make INSTALL_ROOT="$pkgdir" install
}