blob: d38c8d5b68fef514fc2801f75a11364bc9eb1e04 (
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: DingYuan Zhang <justforlxz@gmail.com>
pkgname=deepin-turbo-git
pkgver=0.0.5.r14.g427439d
pkgrel=1
pkgdesc='A daemon that helps to launch applications faster'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/deepin-turbo"
license=('GPL3')
depends=('qt5-base')
makedepends=('cmake' 'git')
groups=('deepin')
provides=('deepin-turbo')
conflicts=('deepin-turbo')
source=("$pkgname::git+https://github.com/linuxdeepin/deepin-turbo")
sha512sums=('SKIP')
pkgver() {
cd $pkgbase
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 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release .
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}
|