blob: 3bf17e8777ab464df19021245356d41a51ff8191 (
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
38
39
|
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=dde-launchpad-git
pkgver=0.8.0.r7.g6338f90
pkgrel=1
sourcename=dde-launchpad
sourcetars=("$sourcename"_"$pkgver".tar.xz)
sourcedir="$sourcename"
pkgdesc='Deepin desktop-environment - Launchpad module'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dde-launchpad"
license=('GPL3')
depends=('qt6-svg'
'qt6-declarative'
'appstream-qt'
'dtk6declarative'
'dtk6gui'
)
makedepends=('git' 'cmake' 'ninja' 'qt6-tools')
conflicts=('deepin-launcher' 'deepin-launchpad')
provides=('deepin-launcher' 'deepin-launchpad')
groups=('deepin-git')
source=("git+${url}")
sha512sums=('SKIP')
pkgver() {
cd $sourcedir
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $sourcedir
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DPREFER_QT_5=OFF
ninja
}
package() {
cd $sourcedir
DESTDIR="$pkgdir" ninja install
}
|