blob: 853faea7d3c14f1a92881294e053a4783b43b5b3 (
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-polkit-agent-git
pkgver=5.5.21.r7.g2f9964c
pkgrel=1
pkgdesc='Deepin Polkit Agent'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dde-polkit-agent"
license=('GPL3')
depends=('deepin-qt-dbus-factory-git' 'startdde-git' 'polkit-qt5' 'dtkwidget-git')
makedepends=('git' 'polkit-qt5' 'dtkcommon-git' 'dtkwidget-git' 'cmake' 'ninja')
conflicts=('deepin-polkit-agent')
provides=('deepin-polkit-agent')
groups=('deepin-git')
source=("$pkgname::git+https://github.com/linuxdeepin/dde-polkit-agent")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
cmake . -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
ninja
}
package() {
cd $pkgname
DESTDIR="$pkgdir" ninja install
}
|