summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD32
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..be9791d3028
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sat Jan 30 09:34:41 UTC 2016
+pkgbase = alienfx-lite
+ pkgdesc = A keyboard color management tool for Alienware laptops (written in Java with a C++ native library)
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/bchretien/AlienFxLite
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ depends = java-runtime
+ depends = libusb
+ source = https://github.com/bchretien/AlienFxLite/archive/v1.0.tar.gz
+ sha256sums = 92a8fbc428b0f5d3757d8bf199c6513ce95254423767e8389560c2553eaa9c78
+
+pkgname = alienfx-lite
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..97f6d939182
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Benjamin Chr├ętien <chretien dot b plus aur at gmail dot com>
+
+pkgname=alienfx-lite
+pkgver=1.0
+pkgrel=1
+pkgdesc="A keyboard color management tool for Alienware laptops (written in Java with a C++ native library)"
+arch=('i686' 'x86_64')
+url="https://github.com/bchretien/AlienFxLite"
+license=('GPL')
+depends=('java-runtime' 'libusb')
+makedepends=('cmake')
+source=("https://github.com/bchretien/AlienFxLite/archive/v${pkgver}.tar.gz")
+sha256sums=('92a8fbc428b0f5d3757d8bf199c6513ce95254423767e8389560c2553eaa9c78')
+
+_dir="AlienFxLite-${pkgver}"
+
+function prepare() {
+ cd "${srcdir}/${_dir}"
+ mkdir -p build && cd build
+ cmake .. -DCMAKE_BUILD_TYPE="Release" \
+ -DCMAKE_INSTALL_PREFIX="/usr"
+}
+
+build() {
+ cd "${srcdir}/${_dir}/build"
+ make
+}
+
+function package() {
+ cd "${srcdir}/${_dir}/build"
+ make --silent DESTDIR="${pkgdir}/" install
+}