summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2039c08c8ad1111d5f355fcef6967844fa939c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Corey Hinshaw <corey(at)electrickite(dot)org>

pkgname=system76-oled
pkgver=0.1.3
pkgrel=1
pkgdesc="Control brightness on System76 OLED displays"
arch=('x86_64')
url="https://github.com/pop-os/system76-oled"
license=('GPL3')
depends=('rust' 'dbus' 'libx11' 'libxrandr')
source=("https://github.com/pop-os/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('af99b853c309bae06114aa3a49ab86a31db44d55b5e074d8a560854150d60f9d')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
	make clean prefix=/usr
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
	make DESTDIR="$pkgdir/" install prefix=/usr
}