summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Ostuni2016-05-20 16:00:42 +0200
committerDario Ostuni2016-05-20 16:00:42 +0200
commitf5a26133c835d2d383a23d97c6fe793943b17c51 (patch)
tree5451a5f9e0ff0b90186ff30236dd12440ee1c5c0
downloadaur-f5a26133c835d2d383a23d97c6fe793943b17c51.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1539c26db84
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Fri May 20 14:00:36 UTC 2016
+pkgbase = grainbow-git
+ pkgdesc = Color the screen with a rainbow (libgamma version)
+ pkgver = r2.cff35ea
+ pkgrel = 1
+ url = https://github.com/dariost/GRainbow
+ arch = i686
+ arch = x86_64
+ license = APACHE2
+ depends = libgammamm
+ source = git+https://github.com/dariost/GRainbow.git
+ sha256sums = SKIP
+
+pkgname = grainbow-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..98af764ac87
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Dario Ostuni <another.code.996@gmail.com>
+pkgname=grainbow-git
+pkgver=r2.cff35ea
+pkgrel=1
+pkgdesc="Color the screen with a rainbow (libgamma version)"
+arch=('i686' 'x86_64')
+url="https://github.com/dariost/GRainbow"
+license=('APACHE2')
+depends=('libgammamm')
+options=()
+source=("git+https://github.com/dariost/GRainbow.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/GRainbow"
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/GRainbow"
+ make
+}
+
+package() {
+ cd "$srcdir/GRainbow"
+ install -Dm755 grainbow "$pkgdir/usr/bin/grainbow"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/xrainbow/LICENSE"
+}