summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2020-06-13 00:38:57 -0300
committerSoniEx2 <endermoneymod@gmail.com>2020-06-13 00:38:57 -0300
commit31d4eca1a0d143d685dbf64eb7614b9528d3f5a0 (patch)
treec82199ee15be2349a96c514fb57a26f606a6f5bb
parentfd787573517e9b8bfe543d21b3daf32568f81faf (diff)
Add project structure (README, etc)
-rw-r--r--HACKING.md1
-rw-r--r--README.md18
-rw-r--r--buildscripts-arch/PKGBUILD40
3 files changed, 59 insertions, 0 deletions
diff --git a/HACKING.md b/HACKING.md
new file mode 100644
index 0000000..53f8c66
--- /dev/null
+++ b/HACKING.md
@@ -0,0 +1 @@
+[TODO: document project structure etc]
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4ca984c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,18 @@
+# Tiny Desktop Portal
+
+A modular and lightweight alternative to `xdg-desktop-portal`, primarily
+for use with *non*-flatpak applications.
+
+It's not intended to provide the security guarantees of
+`xdg-desktop-portal`, but merely to allow applications to depend on an
+`xdg-desktop-portal`-compatible API and use native file choosers and so
+on. The primary goal is to be lightweight, such that it can be used on
+memory-constrained devices, and only provide what the user needs.
+
+Future goals include native Android/Termux integration, especially for
+the file chooser. However, let's get the baseline working first, shall
+we?
+
+## TODO
+
+Nothing exists right now.
diff --git a/buildscripts-arch/PKGBUILD b/buildscripts-arch/PKGBUILD
new file mode 100644
index 0000000..fe54797
--- /dev/null
+++ b/buildscripts-arch/PKGBUILD
@@ -0,0 +1,40 @@
+pkgbase=tiny-desktop-portal
+pkgname=('tiny-desktop-portal' 'tiny-desktop-portal-filechooser')
+pkgver=r1.81c8788
+pkgrel=1
+pkgdesc="An alternative to xdg-desktop-portal"
+arch=(any)
+url="web+ganarchy:81c87881072910033fd8dd4e8e14c358d48535ef"
+license=('GPL')
+groups=()
+depends=()
+makedepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=($pkgname::git+file://"$(git rev-parse --show-toplevel)")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+  cd "$pkgbase"
+
+  #./configure --prefix=/usr
+  #make
+}
+
+package() {
+  cd "$pkgbase"
+
+  #make DESTDIR="$pkgdir/" install
+}