diff options
author | Hendrikto | 2018-01-08 00:19:31 +0100 |
---|---|---|
committer | Hendrikto | 2018-01-08 00:19:31 +0100 |
commit | ab7ec220c1556eb502d6c8b51394fbce071b8c7d (patch) | |
tree | 7caaaf65676ec673719a44048f087084b9f4916f | |
parent | 535c05022a77a1808b2d2206a665b98b94aface4 (diff) | |
download | aur-ab7ec220c1556eb502d6c8b51394fbce071b8c7d.tar.gz |
Build directly from git repo
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 5 deletions
@@ -5,8 +5,9 @@ pkgbase = backlight_control url = https://github.com/Hendrikto/backlight_control arch = x86_64 license = MIT - source = backlight_control-1.1.tar.gz::https://github.com/Hendrikto/backlight_control/archive/1.1.tar.gz - md5sums = e233b7a0785fe3074f598e5b99b867d6 + makedepends = git + source = backlight_control-1.1::git+https://github.com/Hendrikto/backlight_control.git + sha256sums = SKIP pkgname = backlight_control @@ -2,13 +2,19 @@ pkgname=backlight_control pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc='Simple backlight brightness control' arch=('x86_64') url='https://github.com/Hendrikto/backlight_control' license=('MIT') -source=("$pkgname-$pkgver.tar.gz::https://github.com/Hendrikto/backlight_control/archive/$pkgver.tar.gz") -md5sums=('e233b7a0785fe3074f598e5b99b867d6') +makedepends=('git') +source=("$pkgname-$pkgver::git+https://github.com/Hendrikto/backlight_control.git") +sha256sums=('SKIP') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + git checkout $pkgver +} build() { cd "$srcdir/$pkgname-$pkgver" |