summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
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
+}