summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorClayton Craft2018-06-04 09:48:20 -0700
committerClayton Craft2018-06-04 09:48:20 -0700
commit8a7fed2e9535c59b532dccb651bfe1b580d48437 (patch)
tree4bb9116d273821b7819440880ce84e0d8b433ae3
parent206e5080bc758430570af363520f5fd9aa0a44c7 (diff)
downloadaur-autolight.tar.gz
Source moved to gitlab
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD20
2 files changed, 8 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a6dbf04741..8338a504b31 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = autolight
pkgdesc = A daemon for controlling display backlight using an ambient light sensor
pkgver = 1.1
- pkgrel = 1
- url = https://github.com/craftyguy/autolight
+ pkgrel = 2
+ url = https://gitlab.com/craftyguy/autolight
arch = i686
arch = x86_64
license = GPL3
@@ -10,8 +10,8 @@ pkgbase = autolight
depends = light
provides = autolight
conflicts = autolight
- source = https://github.com/craftyguy/autolight/archive/1.1.tar.gz
- md5sums = fb0a1c132fd3191d750177f6b6ea1f1f
+ source = https://gitlab.com/craftyguy/autolight/-/archive/1.1/autolight-1.1.tar.bz2
+ sha512sums = a44267aaa560e696bdcfefd80983cc7d1e439a875bf98ac9d63244401a92c839b668db5367395c59d89b8974bab2d9700ed587df13f068bec3510d8f2062b6bd
pkgname = autolight
diff --git a/PKGBUILD b/PKGBUILD
index 1e87d5c57b2..3983ff34991 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,16 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=autolight
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="A daemon for controlling display backlight using an ambient light sensor"
arch=('i686' 'x86_64')
-url="https://github.com/craftyguy/autolight"
+url="https://gitlab.com/craftyguy/autolight"
license=('GPL3')
depends=('python' 'light')
provides=("${pkgname}")
conflicts=("${pkgname}")
-source=("https://github.com/craftyguy/autolight/archive/${pkgver}.tar.gz")
-md5sums=('fb0a1c132fd3191d750177f6b6ea1f1f')
-prepare() {
- cd "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
-}
-
-check() {
- cd "$pkgname-$pkgver"
-}
-
+source=("https://gitlab.com/craftyguy/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('a44267aaa560e696bdcfefd80983cc7d1e439a875bf98ac9d63244401a92c839b668db5367395c59d89b8974bab2d9700ed587df13f068bec3510d8f2062b6bd')
package() {
cd "$pkgname-$pkgver"
install -m755 -D "$pkgname" "$pkgdir/usr/bin/$pkgname"