aboutsummaryrefslogblamecommitdiffstats
path: root/coreupdown/PKGBUILD
blob: 3f4bc7bc34cc4020a72db7468904f8538b056f9f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                                               

                  
          







                                                             
                                                                                                                                             










                                                      
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=coreupdown
pkgver=1.1
pkgrel=1
pkgdesc="Dynamically turn all non-main CPU's on and off"
url='https://codeberg.org/maandree/coreupdown'
arch=(any)
license=('custom:ISC')
depends=()
makedepends=(libsimple)
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha512sums=(d35965f301c89328fddda0eef8cf9a755964613558e5eaadb581b7a4249d996d61db6f97f9851edecd15934d7edb4a3464d4dc8b5371abbdc0062619dc6a121e)

build () {
	cd "$srcdir/coreupdown"
	make PREFIX=/usr
}

package () {
	cd "$srcdir/coreupdown"
	make PREFIX=/usr DESTDIR="$pkgdir" install
	make PREFIX=/usr DESTDIR="$pkgdir" postinstall
}