summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Winterstein2016-10-11 14:40:49 -0600
committerRobert Winterstein2016-10-11 14:40:49 -0600
commit09a3bc0d9c76860cd5c3d53bc49e6d340519ea5d (patch)
treefa3897f54ca46e612dd7cd1dbaebbf97386ed488
downloadaur-09a3bc0d9c76860cd5c3d53bc49e6d340519ea5d.tar.gz
initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD23
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ec898f6c3eb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gloom
+ pkgdesc = a X11 backlight dimming, screen lock, and cursor management tool for laptops.
+ pkgver = 1.2
+ pkgrel = 1
+ url = https://github.com/shizy/gloom
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = libxrandr
+ depends = libxfixes
+ depends = libxi
+ depends = xproto
+ depends = libx11
+ source = https://github.com/shizy/gloom/archive/1.2.tar.gz
+ md5sums = SKIP
+
+pkgname = gloom
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7e4d029a3f2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: shizy <shizukesa4 at gmail dot com>
+pkgname=gloom
+pkgver=1.2
+pkgrel=1
+pkgdesc='a X11 backlight dimming, screen lock, and cursor management tool for laptops.'
+arch=('x86_64')
+url=https://github.com/shizy/gloom
+license=('MIT')
+depends=('libxrandr' 'libxfixes' 'libxi' 'xproto' 'libx11')
+makedepends=('git')
+source=("https://github.com/shizy/gloom/archive/${pkgver}.tar.gz")
+md5sums=('SKIP')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ echo "$pkgdir"
+ cd "${pkgname}-${pkgver}"
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
+}