diff options
author | Mattias Andrée <maandree@kth.se> | 2024-04-06 11:11:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-04-06 11:11:18 +0200 |
commit | f87734ce1304d05f06e3d982a9bccb5fdf7501d0 (patch) | |
tree | a33666ccfa4ac88b4077346a158d8940965e3ee5 | |
parent | Add makeenv 1.0 (diff) | |
download | aur-packages-f87734ce1304d05f06e3d982a9bccb5fdf7501d0.tar.gz aur-packages-f87734ce1304d05f06e3d982a9bccb5fdf7501d0.tar.bz2 aur-packages-f87734ce1304d05f06e3d982a9bccb5fdf7501d0.tar.xz |
Add coreupdown
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | coreupdown/PKGBUILD | 24 | ||||
l--------- | coreupdown/upload | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/coreupdown/PKGBUILD b/coreupdown/PKGBUILD new file mode 100644 index 0000000..7ea214a --- /dev/null +++ b/coreupdown/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=coreupdown +pkgver=1.0 +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=(029add2223a4d7e9e4391694e967d642547610b492cb94f70aacd6de1d06cbe62e6cbbabc5d462b60d9d6ada1aad4aafb67b0c8234d0cb1c6981572a9a5abf11) + +build () { + cd "$srcdir/coreupdown" + make PREFIX=/usr +} + +package () { + cd "$srcdir/coreupdown" + make PREFIX=/usr DESTDIR="$pkgdir" install + make PREFIX=/usr DESTDIR="$pkgdir" postinstall +} diff --git a/coreupdown/upload b/coreupdown/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/coreupdown/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |