mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-05 09:27:19 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
50 lines
1.1 KiB
Text
50 lines
1.1 KiB
Text
# Contributor: Julian Weigt <juw@posteo.de>
|
|
# Maintainer: Julian Weigt <juw@posteo.de>
|
|
# taken from archlinux
|
|
pkgname=gammastep
|
|
pkgver=2.0.9
|
|
pkgrel=3
|
|
pkgdesc="Adjust the color temperature of your screen according to your surroundings"
|
|
arch="all"
|
|
url="https://gitlab.com/chinstrap/gammastep"
|
|
license="GPL-3.0-only"
|
|
makedepends="
|
|
autoconf
|
|
automake
|
|
geoclue-dev
|
|
gettext-dev
|
|
intltool
|
|
libtool
|
|
python3
|
|
wayland-dev
|
|
"
|
|
subpackages="$pkgname-lang $pkgname-doc $pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/chinstrap/gammastep/-/archive/v$pkgver/gammastep-v$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
./bootstrap
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir/" install
|
|
install -vDm 644 CONTRIBUTING.md NEWS.md README.md -t "$pkgdir/usr/share/doc/$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
6bd5e2ee21424af87eafff394c7dbe1db19052fbdac2cadd6fbc2af99839f35743125352655dc7b3beccdaec038b480f66125649b61252826c6cbd663444cda0 gammastep-2.0.9.tar.gz
|
|
"
|