summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1c62010e7320ba529bcad63bd71a33f33ebe8ccf (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
# Maintainer: Junio CalĂș <junio.calu@gmail.com>

pkgname=dde-pstate
pkgver=0.2.0
pkgrel=1
pkgdesc="Intel pstate dock plugin for Deepin V20"
arch=('x86_64')
url="https://github.com/SeptemberHX/dde-pstate"
license=('GPL')
depends=('deepin-network-utils' 'qt5-base'
         'procps-ng' 'deepin-dock')
makedepends=('cmake' 'qt5-tools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/SeptemberHX/dde-pstate/archive/$pkgver.tar.gz")
sha512sums=('652502df6090808553ff7974e5e69de3b893ddf824ef2a0123965ceca48903c5dcb1e87e07adaa4509adc34515c9956d64164ca14450b1af27d8e071bd3a9508')

build() {
  cd $pkgname-$pkgver
  cmake .	\
  	-DCMAKE_INSTALL_PREFIX=/usr \
    	-DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}