blob: 6a8895c8840974a8fe869c73085a70e07e34f63d (
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
|
# Maintainer: Dario Ostuni <another.code.996@gmail.com>
pkgname=xrainbow-git
pkgver=r5.4f1743c
pkgrel=2
pkgdesc="Color the screen with a rainbow (X11 version)"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/dariost/XRainbow"
license=('APACHE2')
depends=('libx11' 'libxxf86vm')
options=()
source=("git+https://github.com/dariost/XRainbow.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/XRainbow"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/XRainbow"
make
}
package() {
cd "$srcdir/XRainbow"
install -Dm755 xrainbow "$pkgdir/usr/bin/xrainbow"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/xrainbow/LICENSE"
}
|