summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5e84cf5978a06a8d1bc3cdbda3eef3475f8d1ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Ronan Pigott <rpigott@berkeley.edu>

pkgname=blight
pkgver=0.1.1
pkgrel=1
pkgdesc='Basic general backlight utility written in python'
url='https://github.com/RPigott/blight'
arch=('any')
license=('custom:ISC')
source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
makedepends=('scdoc')
depends=('python' 'python-gobject')
sha256sums=('04576d55d0448f56acb8335c7a14ca22bb06749db9b6560f85f6a14230054a52')

# source+=("$pkgname-$pkgver.tar.gz.asc::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz.asc")
# sha256sums+=('SKIP')
# validpgpkeys=('AE54EAF95DC5D7BB5F1CF422E8E098BBF6E920A0') # Ronan Pigott <rpigott@berkeley.edu>

build() {
	scdoc < blight.1.scd > blight.1
}

package() {
	install -Dm755 blight.py "$pkgdir/usr/bin/blight"
	install -Dm644 blight.1 "$pkgdir/usr/share/man/man1/blight.1"
	install -Dm644 completion/zsh/_blight "$pkgdir/usr/share/zsh/site-functions/_blight"
	install -Dm644 completion/bash/blight "$pkgdir/usr/share/bash-completion/completions/blight"
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/blight/LICENSE"
}