[arch-commits] Commit in gammastep/repos (community-x86_64 community-x86_64/PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Aug 11 21:16:23 UTC 2020


    Date: Tuesday, August 11, 2020 @ 21:16:22
  Author: dvzrv
Revision: 674911

archrelease: copy trunk to community-x86_64

Added:
  gammastep/repos/community-x86_64/
  gammastep/repos/community-x86_64/PKGBUILD
    (from rev 674910, gammastep/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: gammastep/repos/community-x86_64/PKGBUILD (from rev 674910, gammastep/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-08-11 21:16:22 UTC (rev 674911)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=gammastep
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Adjust the color temperature of your screen according to your surroundings."
+arch=('x86_64')
+url="https://gitlab.com/chinstrap/gammastep"
+license=('GPL3')
+depends=('geoclue' 'glibc' 'hicolor-icon-theme' 'libdrm' 'libx11' 'libxcb'
+'libxxf86vm' 'wayland')
+optdepends=('python-gobject: for gammastep-indicator'
+            'python-xdg: for gammastep-indicator'
+            'gtk3: for gammastep-indicator')
+makedepends=('glib2' 'intltool' 'python' 'systemd')
+source=("https://gitlab.com/chinstrap/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
+sha512sums=('63fc14d3c0d7ddbea0038eb0f7923e6282693e4b2830546f8bf27215af933648adad28174e2f9781c0d6156593df54d87967772dc0057b1eb89983d039959fdb')
+b2sums=('65ba94a5ae2d0f165a011c1d4a499f8e222b7091f60c52ffe0f881d2b76af543288b775e6537ab122c4566e59b95b6c8aac439a7e842aa63aac3210512fa4fca')
+
+prepare() {
+  mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  ./bootstrap
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -k check
+}
+
+package() {
+  depends+=('libgio-2.0.so' 'libgobject-2.0.so' 'libglib-2.0.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  install -vDm 644 {CONTRIBUTING,NEWS,README}.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list