summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e81c60424f479e5f93d57c9f21106ab9f42e0eaa (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
30
31
# Maintainer: Kieran Colford <kieran@kcolford.com>
pkgname=lenovo-thinkpad-yoga-11e-chromebook-git
pkgver=1.0.0.r1.g62d68d4
pkgrel=1
pkgdesc="Fixes for the Lenove Yoga Thinkpad 11e Chromebook"
arch=('any')
url="https://github.com/kcolford/lenovo-thinkpad-yoga-11e-chromebook"
license=('unknown')
groups=()
depends=()
makedepends=('git')
optdepends=('linux-max98090: for working sound')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=("git+$url")
md5sums=('SKIP')
noextract=()

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  git describe --long | sed 's/v//;s/-/.r/;s/-/./g'
}

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