summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Zlobintsev2020-07-07 07:16:11 +0300
committerIlya Zlobintsev2020-07-07 07:16:11 +0300
commit0e123a18b61276adf105d5db35b158c45a6c7888 (patch)
treed126443cfeac6677d1e8ebef24e924658bf36657
downloadaur-0e123a18b61276adf105d5db35b158c45a6c7888.tar.gz
Init
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD27
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f7f43b0a30d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = borealis-git
+ pkgdesc = Asus Aura Sync driver application for Linux
+ pkgver = r.
+ pkgrel = 1
+ url = https://github.com/Philpax/borealis
+ arch = any
+ makedepends = rust
+ source = git://github.com/Philpax/borealis.git
+ md5sums = SKIP
+
+pkgname = borealis-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f082123b9d5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintiner: Ilya Zlobintsev <ilya.zlve@gmail.com>
+pkgname=borealis-git
+pkgver=r.
+pkgrel=1
+pkgdesc="Asus Aura Sync driver application for Linux"
+url="https://github.com/Philpax/borealis"
+arch=('any')
+licence=('MIT')
+depends=()
+makedepends=('rust')
+source=('git://github.com/Philpax/borealis.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd borealis
+ cargo build --release
+}
+
+package() {
+ cd borealis
+ install -Dm755 target/release/borealis "$pkgdir/usr/bin/borealis"
+}