Browse Source

Update installation instructions for Arch Linux

Maxim Baz 5 years ago
parent
commit
8d656615fb
No account linked to committer's email
2 changed files with 3 additions and 35 deletions
  1. 3
    4
      README.md
  2. 0
    31
      archlinux/PKGBUILD

+ 3
- 4
README.md View File

108
 
108
 
109
 ### Arch Linux
109
 ### Arch Linux
110
 
110
 
111
-If you run Arch Linux, we highly recommend the PKGBUILD in the repo. However there also exist 2 packages in the AUR, which we aim to replace;
111
+The latest stable release is available in official repos, install with:
112
 
112
 
113
-* [light-git][] - For the latest development branch (master)
114
-* [light][] - For the latest stable release
113
+    pacman -S light
115
 
114
 
115
+Additionally, the latest development branch (master) is available on AUR: [light-git][]
116
 
116
 
117
 ### Fedora
117
 ### Fedora
118
 
118
 
168
 
168
 
169
 [Light]:     https://github.com/haikarainen/light/
169
 [Light]:     https://github.com/haikarainen/light/
170
 [light-git]: https://aur.archlinux.org/packages/light-git
170
 [light-git]: https://aur.archlinux.org/packages/light-git
171
-[light]: https://aur.archlinux.org/packages/light

+ 0
- 31
archlinux/PKGBUILD View File

1
-# Maintainer: Fredrik Haikarainen <fredrik.haikarainen@gmail.com>
2
-
3
-pkgname=light
4
-pkgver=1.1.2.r61.g9d8ca6b
5
-pkgrel=1
6
-pkgdesc='Application to control hardware lights, backlights, leds.'
7
-arch=('i686' 'x86_64')
8
-url="https://github.com/haikarainen/light"
9
-license=('GPL3')
10
-makedepends=('git')
11
-conflicts=('light-git')
12
-provides=('light-git')
13
-source=('git+https://github.com/haikarainen/light.git')
14
-sha256sums=('SKIP')
15
-
16
-pkgver() {
17
-  cd "$srcdir/light"
18
-  git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
19
-}
20
-
21
-build(){
22
-  cd "$srcdir/light"
23
-  ./autogen.sh
24
-  ./configure --with-udev --prefix=/usr
25
-  make
26
-}
27
-
28
-package(){
29
-  cd "$srcdir/light"
30
-  make DESTDIR="$pkgdir/" install
31
-}