summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3a6dff47d99cb4f3222ffce6c7b3d83178d696b (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
# Maintainer: Raymundo Cassani <raymundo.cassani@gmail.com>
# Contributor: Hemanth Bollamreddi <blmhemu@gmail.com>

pkgbase=opengigabyte
pkgname=('opengigabyte-driver-dkms' 'opengigabyte-meta')
pkgver=0.0.2
pkgrel=1
pkgdesc="Entirely open source drivers and utilities for Gigabyte Laptops on GNU/Linux."
arch=('any')
url="https://github.com/blmhemu/opengigabyte"
license=('GPL2')
source=("https://github.com/blmhemu/opengigabyte/archive/v${pkgver}.tar.gz")
md5sums=('3dd0c361f23eae3974abdf0b8af12adc')

package_opengigabyte-driver-dkms() {
  pkgdesc="Kernel driver for Gigabyte devices (DKMS-variant)"
  depends=('dkms' 'udev' 'linux-headers')
  install=opengigabyte-driver-dkms.install

  cd "${pkgbase}-${pkgver}"
  make DESTDIR="${pkgdir}" setup_dkms udev_install
}

package_opengigabyte-meta() {
  pkgdesc="Meta package for installing all required opengigabyte packages."
  depends=('opengigabyte-driver-dkms')
}