summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2327b4184d6ecfd4ab7b802e95399b0a18973728 (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
32
# Maintainer: Thomas Hebb <tommyhebb@gmail.com>
pkgname=chromecast-tools-git
pkgver=17.de27ed2
pkgrel=2
pkgdesc="A set of simple utilities for working with Chromecast USB boot image files"
arch=('i686' 'x86_64')
url="https://github.com/tchebb/chromecast-tools"
license=('GPL')
depends=('android-tools')
makedepends=('git')
provides=('chromecast-tools')
conflicts=('chromecast-tools')
source=('git+https://github.com/tchebb/chromecast-tools.git')
sha256sums=('SKIP')

pkgver() {
	cd "chromecast-tools"
	printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/chromecast-tools"

	make
}

package() {
	cd "$srcdir/chromecast-tools"

	install -d "$pkgdir/usr/bin/"
	install -t "$pkgdir/usr/bin/" $(ls | grep -ve '.c$')
}