blob: eec1b310163b186b19ba1d2f71e867cba4861770 (
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=deepin-launcher-git
pkgver=5.5.6.r63.gd5757bab
pkgrel=1
pkgdesc='Deepin desktop-environment - Launcher module'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dde-launcher"
license=('GPL3')
depends=('gsettings-qt' 'qt5-svg' 'qt5-x11extras' 'startdde-git' 'deepin-daemon-git' 'deepin-qt-dbus-factory-git' 'xdg-user-dirs')
makedepends=('git' 'cmake' 'ninja' 'gtest' 'qt5-tools' 'qt5-base' 'qt5-x11extras' 'qt5-svg' 'dtkwidget-git' 'gtest' 'gmock')
conflicts=('deepin-launcher')
provides=('deepin-launcher')
groups=('deepin-git')
source=("$pkgname::git+https://github.com/linuxdeepin/dde-launcher.git")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $pkgname
if [[ ! -z ${sha} ]];then
git checkout -b $sha
fi
}
build() {
cd $pkgname
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DWITHOUT_UNINSTALL_APP=
ninja
}
package() {
cd $pkgname
DESTDIR="$pkgdir" ninja install
}
|