blob: 913e740d8a1cb4b2d0390b512d0ed16ed1801198 (
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
35
36
37
|
pkgname=deepin-application-manager-git
_pkgname=deepin-application-manager
sourcename=dde-application-manager
pkgver=1.2.15.r2.g0e6c213
pkgrel=1
pkgdesc='App manager of Deepin Desktop Environment'
arch=('x86_64')
url="https://github.com/linuxdeepin/dde-application-manager"
license=('GPL3')
# deepin-wloutput-daemon: org.deepin.dde.KWayland1
# startdde: org.deepin.dde.XSettings1
depends=('qt6-base' 'glibc' 'gcc-libs' 'systemd-libs')
makedepends=('cmake' 'ninja' 'gtest')
conflicts=($_pkgname)
provides=($_pkgname)
groups=('deepin-git')
source=("git+https://github.com/linuxdeepin/dde-application-manager.git")
sha512sums=('SKIP')
pkgver() {
cd $sourcename
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $sourcename
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LIBEXECDIR=lib
ninja
}
package() {
cd $sourcename
DESTDIR="$pkgdir" ninja install
rm -r "$pkgdir"/etc/dpkg
rmdir "$pkgdir"/etc
}
|