summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f97c8fe775c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = matrix-3ds-sdk-git
+ pkgdesc = Matrix client SDK for the Nintendo 3DS
+ pkgver = r34.8b4315c
+ pkgrel = 1
+ url = https://github.com/Sorunome/matrix-3ds-sdk/
+ arch = x86_64
+ license = Apache
+ makedepends = git
+ makedepends = 3ds-curl
+ makedepends = 3ds-jansson
+ provides = matrix-3ds-sdk-git
+ conflicts = matrix-3ds-sdk-git
+ source = git+https://github.com/Sorunome/matrix-3ds-sdk.git
+ md5sums = SKIP
+
+pkgname = matrix-3ds-sdk-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d0b412caac3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Genstar <genstar@disroot.org>
+pkgname=matrix-3ds-sdk-git
+pkgver=r34.8b4315c
+pkgrel=1
+pkgdesc="Matrix client SDK for the Nintendo 3DS"
+arch=('x86_64')
+url="https://github.com/Sorunome/matrix-3ds-sdk/"
+license=('Apache')
+makedepends=('git' '3ds-curl' '3ds-jansson')
+provides=("${pkgname%-VCS}")
+conflicts=("${pkgname%-VCS}")
+source=('git+https://github.com/Sorunome/matrix-3ds-sdk.git')
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+# Git, no tags available
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir/" install
+}