upgpkg: gammastep-git 2.0.7.r1.gc5c3ac0-1

This commit is contained in:
Cedric Girard 2021-11-30 12:06:51 +01:00
parent 358e531a6a
commit 3b409133a7
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 58 additions and 35 deletions

View file

@ -1,23 +1,40 @@
pkgbase = gammastep-git pkgbase = gammastep-git
pkgdesc = Adjusts the color temperature of your screen according to your surroundings. pkgdesc = Adjust the color temperature of your screen according to your surroundings.
pkgver = 1.12.r37.ge3ddf54 pkgver = 2.0.7.r1.gc5c3ac0
pkgrel = 1 pkgrel = 1
url = https://github.com/CameronNemo/redshift url = https://gitlab.com/chinstrap/gammastep
arch = x86_64 arch = x86_64
license = GPL3 license = GPL3
makedepends = git
makedepends = glib2
makedepends = intltool makedepends = intltool
makedepends = python makedepends = python
makedepends = git makedepends = systemd
depends = glib2
depends = wayland
depends = libdrm
depends = libxxf86vm
depends = geoclue depends = geoclue
depends = glibc
depends = hicolor-icon-theme
depends = libdrm
depends = libx11
depends = libxcb
depends = libxxf86vm
depends = wayland
optdepends = python-gobject: for gammastep-indicator optdepends = python-gobject: for gammastep-indicator
optdepends = python-xdg: for gammastep-indicator optdepends = python-xdg: for gammastep-indicator
optdepends = gtk3: for gammastep-indicator optdepends = gtk3: for gammastep-indicator
source = git+https://github.com/CameronNemo/redshift provides = gammastep
md5sums = SKIP conflicts = gammastep
source = git+https://gitlab.com/chinstrap/gammastep.git
sha256sums = SKIP
pkgname = gammastep-git pkgname = gammastep-git
depends = geoclue
depends = glibc
depends = hicolor-icon-theme
depends = libdrm
depends = libx11
depends = libxcb
depends = libxxf86vm
depends = wayland
depends = libgio-2.0.so
depends = libgobject-2.0.so
depends = libglib-2.0.so

View file

@ -1,43 +1,49 @@
# Maintainer: Carlo Teubner <carlo at cteubner dot net> # Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: Brett Cornwall <ainola@archlinux.org> # Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: Andrey Solomatin
# Contributor: carstene1ns
# Contributor: Lukas Fleischer
# Contributor: Geoffrey Teale
# Contributor: Mark, Huo Mian
# Contributor: Biginoz
# Contributor: Mattias Andrée
pkgname=gammastep-git pkgname=gammastep-git
pkgver=1.12.r37.ge3ddf54 pkgver=2.0.7.r1.gc5c3ac0
pkgrel=1 pkgrel=1
pkgdesc="Adjusts the color temperature of your screen according to your surroundings." pkgdesc="Adjust the color temperature of your screen according to your surroundings."
arch=('x86_64') arch=('x86_64')
url="https://github.com/CameronNemo/redshift" url="https://gitlab.com/chinstrap/gammastep"
license=('GPL3') license=('GPL3')
depends=('glib2' 'wayland' 'libdrm' 'libxxf86vm' 'geoclue') provides=('gammastep')
conflicts=('gammastep')
depends=('geoclue' 'glibc' 'hicolor-icon-theme' 'libdrm' 'libx11' 'libxcb'
'libxxf86vm' 'wayland')
makedepends=('git' 'glib2' 'intltool' 'python' 'systemd')
optdepends=('python-gobject: for gammastep-indicator' optdepends=('python-gobject: for gammastep-indicator'
'python-xdg: for gammastep-indicator' 'python-xdg: for gammastep-indicator'
'gtk3: for gammastep-indicator') 'gtk3: for gammastep-indicator')
makedepends=('intltool' 'python' 'git') source=("git+https://gitlab.com/chinstrap/gammastep.git")
source=("git+https://github.com/CameronNemo/redshift") sha256sums=('SKIP')
md5sums=('SKIP')
pkgver() { pkgver() {
cd "$srcdir/redshift" cd gammastep
git describe --tags | sed 's/^v//;s/-/.r/;s/-/./' git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir"/gammastep
./bootstrap
} }
build() { build() {
cd "$srcdir/redshift" cd "$srcdir"/gammastep
./bootstrap
./configure --prefix=/usr ./configure --prefix=/usr
make make
} }
package() { check() {
cd "$srcdir/redshift" cd "$srcdir"/gammastep
make DESTDIR="$pkgdir" install make -k check
} }
# vim:set ts=2 sw=2 et: package() {
depends+=('libgio-2.0.so' 'libgobject-2.0.so' 'libglib-2.0.so')
cd "$srcdir"/gammastep
make DESTDIR="$pkgdir/" install
install -vDm 644 {CONTRIBUTING,NEWS,README}.md \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}