summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin Keller2021-07-08 03:33:48 -0700
committerAustin Keller2021-07-08 03:33:48 -0700
commitab14fb7792ce986dedec15f6622bcb10e941bc10 (patch)
treec6139205117aa48d17f2311098a2155462568dfa
downloadaur-ab14fb7792ce986dedec15f6622bcb10e941bc10.tar.gz
v0.0.13
-rw-r--r--.SRCINFO12
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD31
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4c13da37214
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = roam-research
+ pkgdesc = A note-taking tool for networked thought
+ pkgver = 0.0.13
+ pkgrel = 1
+ url = https://roamresearch.com/
+ arch = any
+ license = custom
+ source = roam-research-0.0.13.tgz::https://roam-electron-deploy.s3.us-east-2.amazonaws.com/roam-research_0.0.13_amd64.deb
+ md5sums = 1bd0ffd8618975d601bb93c0ae1741af
+
+pkgname = roam-research
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4cd97835e38
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg/
+/roam-research-*.pkg.tar.zst
+/roam-research-*.tgz
+/src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..37eb2abd343
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Austin Keller <austin474@gmail.com>
+
+_pkgname=roam-research
+pkgname=roam-research
+pkgver=0.0.13
+pkgrel=1
+pkgdesc="A note-taking tool for networked thought"
+arch=('any')
+url="https://roamresearch.com/"
+license=('custom')
+depends=()
+source=("$_pkgname-$pkgver.tgz::https://roam-electron-deploy.s3.us-east-2.amazonaws.com/${_pkgname}_${pkgver}_amd64.deb")
+md5sums=('1bd0ffd8618975d601bb93c0ae1741af')
+
+prepare() {
+ tar -xvf data.tar.xz
+}
+
+package() {
+ cd "$srcdir"
+
+ sed -i "s/\/opt\/Roam Research/\/opt\/$_pkgname/" usr/share/applications/roam-research.desktop
+
+ install -d "$pkgdir"/{opt/$_pkgname,usr/share}
+ cp -r opt/Roam\ Research/* -t "$pkgdir"/opt/$_pkgname
+ cp -r usr/share/* -t "$pkgdir"/usr/share
+ install -d "$pkgdir"/usr/share/icons/hicolor/1024x1024
+ cp -r usr/share/icons/hicolor/0x0/* -t "$pkgdir"/usr/share/icons/hicolor/1024x1024
+ install -d "$pkgdir"/usr/share/pixmaps
+ install -D usr/share/icons/hicolor/0x0/apps/roam-research.png -t "$pkgdir"/usr/share/pixmaps
+}