summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Ostuni2016-05-20 03:37:19 +0200
committerDario Ostuni2016-05-20 03:37:19 +0200
commitba409c5c82771fb36a148a32fb444713c82b4ef9 (patch)
tree028c9195c55cccbd63075a1fdcc87d79f4cd2311
downloadaur-ba409c5c82771fb36a148a32fb444713c82b4ef9.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..66e560770c7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Fri May 20 01:37:13 UTC 2016
+pkgbase = xrainbow-git
+ pkgdesc = Color the screen with a rainbow (X11 version)
+ pkgver = r3.d660f77
+ pkgrel = 1
+ url = https://github.com/dariost/XRainbow
+ arch = i686
+ arch = x86_64
+ license = APACHE2
+ depends = libx11
+ depends = libxxf86vm
+ source = git+https://github.com/dariost/XRainbow.git
+ sha256sums = SKIP
+
+pkgname = xrainbow-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e2d66edeb8d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Dario Ostuni <another.code.996@gmail.com>
+pkgname=xrainbow-git
+pkgver=r3.d660f77
+pkgrel=1
+pkgdesc="Color the screen with a rainbow (X11 version)"
+arch=('i686' 'x86_64')
+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"
+}