upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / gammastep / repos / community-x86_64 / PKGBUILD
blob32980f23c71347c0d65ff52370a7b667e5288a02
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=gammastep
4 pkgver=2.0.9
5 pkgrel=2
6 pkgdesc="Adjust the color temperature of your screen according to your surroundings."
7 arch=(x86_64)
8 url="https://gitlab.com/chinstrap/gammastep"
9 license=(GPL3)
10 depends=(geoclue glibc hicolor-icon-theme libdrm libx11 libxcb
11 libxxf86vm wayland)
12 makedepends=(glib2 intltool python systemd)
13 optdepends=(
14   'python-gobject: for gammastep-indicator'
15   'python-xdg: for gammastep-indicator'
16   'gtk3: for gammastep-indicator'
18 source=(https://gitlab.com/chinstrap/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
19 sha512sums=('6bd5e2ee21424af87eafff394c7dbe1db19052fbdac2cadd6fbc2af99839f35743125352655dc7b3beccdaec038b480f66125649b61252826c6cbd663444cda0')
20 b2sums=('91e718b21bf73568e121c9245d7b834634928cf2993b65df126ac93e2c53f61650b340eed193daa3f48133131dc4235547f9ee2be9669ac9a6ddf9417fdbf490')
22 prepare() {
23   cd $pkgname-v$pkgver
24   ./bootstrap
27 build() {
28   cd $pkgname-v$pkgver
29   ./configure --prefix=/usr
30   make
33 check() {
34   make -k check -C $pkgname-v$pkgver
37 package() {
38   depends+=(libgio-2.0.so libgobject-2.0.so libglib-2.0.so)
40   make DESTDIR="$pkgdir/" install -C $pkgname-v$pkgver
41   install -vDm 644 $pkgname-v$pkgver/{CONTRIBUTING,NEWS,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"