summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredfish2019-04-16 22:59:45 -0400
committerredfish2019-04-16 22:59:45 -0400
commit760dd444acc46337a4986c302de4d423ba15c0f3 (patch)
tree631e5f7b377890a143ec24d1916342ef9af1ae43
downloadaur-760dd444acc46337a4986c302de4d423ba15c0f3.tar.gz
dat 13.12.1
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD19
3 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b036d38ab2c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Wed Apr 17 02:57:34 UTC 2019
+pkgbase = dat
+ pkgdesc = Open protocol for distributed peer-to-peer data exchange
+ pkgver = 13.12.2
+ pkgrel = 1
+ url = https://datproject.org
+ arch = any
+ license = BSD
+ depends = nodejs
+ options = !strip
+ source = https://github.com/datproject/dat/archive/v13.12.2.tar.gz
+ sha256sums = a1a7071e8cc0d01691dce8d957cb9a9c7d47a0c54fbd981e4183a6b60d236d38
+
+pkgname = dat
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..17ac5abc4ae
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.pkg.tar.xz
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..33ec0a6368b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: redfish <redfish@galactica.pw>
+
+pkgname=dat
+pkgver=13.12.2
+pkgrel=1
+pkgdesc="Open protocol for distributed peer-to-peer data exchange"
+arch=(any)
+url="https://datproject.org"
+license=('BSD')
+depends=('nodejs')
+source=(https://github.com/datproject/dat/archive/v$pkgver.tar.gz)
+
+options=(!strip)
+
+package(){
+ npm install -g --user root --prefix "${pkgdir}/usr" "$srcdir/v${pkgver}.tar.gz"
+}
+
+sha256sums=('a1a7071e8cc0d01691dce8d957cb9a9c7d47a0c54fbd981e4183a6b60d236d38')