summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2018-12-23 14:26:07 +0100
committerPhilip Goto2018-12-23 14:26:07 +0100
commit1b7ae1eb92b115f7e97acafc7cd8d2559fbca732 (patch)
treeff67b7e28cb5054386661777a60bb5f60ae44f56
downloadaur-1b7ae1eb92b115f7e97acafc7cd8d2559fbca732.tar.gz
Initialize package
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD29
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1f8d3494bc0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = virtboard
+ pkgdesc = Basic keyboard, blazing the path of modern Wayland keyboards
+ pkgver = 0.0.5
+ pkgrel = 1
+ url = https://source.puri.sm/Librem5/virtboard
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ license = GPL3
+ makedepends = git
+ makedepends = pkg-config
+ makedepends = meson
+ conflicts = virtboard-git
+ source = https://source.puri.sm/Librem5/virtboard/-/archive/v0.0.5/virtboard-v0.0.5.tar.gz
+ sha256sums = e026f41c7aa589293458d1ab177b1f5c328f2ad2825b0a1b8ce197407fcb72f1
+
+pkgname = virtboard
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8a1df73f574
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Philip Goto <philip.goto@gmail.com>
+
+pkgname=virtboard
+pkgver=0.0.5
+pkgrel=1
+pkgdesc="Basic keyboard, blazing the path of modern Wayland keyboards"
+url="https://source.puri.sm/Librem5/virtboard"
+license=("GPL3")
+arch=(i686 x86_64 armv6h armv7h)
+depends=()
+makedepends=(git
+ pkg-config
+ meson)
+conflicts=(virtboard-git)
+source=("https://source.puri.sm/Librem5/virtboard/-/archive/v${pkgver}/virtboard-v${pkgver}.tar.gz")
+sha256sums=('e026f41c7aa589293458d1ab177b1f5c328f2ad2825b0a1b8ce197407fcb72f1')
+
+build() {
+ arch-meson "virtboard-v${pkgver}" build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="${pkgdir}" ninja -C build install
+}