summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlf-2015-08-30 12:46:25 -0600
committerlf-2015-08-30 12:46:25 -0600
commit9f9fd5b09da0fd3eaa5659a6afec61ef7ea90bc0 (patch)
tree8652a9df008bebfbd03db7669fdbb98d6dc8f873
downloadaur-9f9fd5b09da0fd3eaa5659a6afec61ef7ea90bc0.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD35
-rw-r--r--lighthouse-git.install1
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..85383b5b093
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = lighthouse-git
+ pkgdesc = A simple scriptable popup dialog to run on X
+ pkgver = unknown
+ pkgrel = 1
+ url = https://github.com/emgram769/lighthouse
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = libx11
+ depends = libxcb
+ depends = cairo
+ optdepends = python2: for the included cmd.py
+ provides = lighthouse
+ conflicts = lighthouse
+ source = git://github.com/emgram769/lighthouse.git
+ source = lighthouse-git.install
+ md5sums = SKIP
+ md5sums = a661ca82623dfb7dcda2bf48ed078ebd
+
+pkgname = lighthouse-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7108821ab5c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: lf (the_lf) <lf at lfcode dot ca>
+# Contributor: lygaret
+pkgname=lighthouse-git
+pkgrel=1
+pkgdesc='A simple scriptable popup dialog to run on X'
+pkgver=r173.a9b41fa
+arch=('any') # I haven't tested it on ARM but it most likely works
+url='https://github.com/emgram769/lighthouse'
+license=('MIT')
+depends=('libx11' 'libxcb' 'cairo')
+makedepends=('git')
+optdepends=('python2: for the included cmd.py')
+source=('git://github.com/emgram769/lighthouse.git' lighthouse-git.install)
+md5sums=('SKIP'
+ 'a661ca82623dfb7dcda2bf48ed078ebd')
+provides=('lighthouse')
+conflicts=('lighthouse') # in case someone makes a stable package
+
+pkgver() {
+ cd "lighthouse"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/lighthouse"
+ make
+}
+
+package() {
+ cd "${srcdir}/lighthouse"
+ mkdir -p ${pkgdir}/usr/{bin,share/lighthouse}
+ cp lighthouse "${pkgdir}"
+ cp -ir config/lighthouse/* "${pkgdir}/usr/share/lighthouse"
+ chmod +x ${pkgdir}/usr/share/lighthouse/cmd{,.py}
+}
diff --git a/lighthouse-git.install b/lighthouse-git.install
new file mode 100644
index 00000000000..efdd758b50d
--- /dev/null
+++ b/lighthouse-git.install
@@ -0,0 +1 @@
+echo 'Configuration files should be copied from /usr/share/lighthouse into ~/.config/lighthouse'