summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..52356259d8b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = transcrypt
+ pkgdesc = A script to configure transparent encryption of files within a Git repository
+ pkgver = 2.1.0
+ pkgrel = 1
+ url = https://github.com/elasticdog/transcrypt
+ arch = any
+ license = MIT
+ depends = git
+ depends = openssl
+ optdepends = gnupg: config import/export support
+ source = https://github.com/elasticdog/transcrypt/archive/v2.1.0.tar.gz
+ sha256sums = 0075a25f7fb48ddfcfb33dd834a5f12fe0644ed4fb5ab0a5f2f7dca06e9ed48c
+
+pkgname = transcrypt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..beb475980f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Aaron Bull Schaefer <aaron@elasticdog.com>
+pkgname=transcrypt
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='A script to configure transparent encryption of files within a Git repository'
+arch=('any')
+url='https://github.com/elasticdog/transcrypt'
+license=('MIT')
+depends=('git' 'openssl')
+optdepends=('gnupg: config import/export support')
+source=("https://github.com/elasticdog/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('0075a25f7fb48ddfcfb33dd834a5f12fe0644ed4fb5ab0a5f2f7dca06e9ed48c')
+
+package() {
+ cd "${pkgname}-${pkgver}/"
+
+ install -m 755 -D transcrypt "${pkgdir}/usr/bin/transcrypt"
+ install -m 644 -D man/transcrypt.1 "${pkgdir}/usr/share/man/man1/transcrypt.1"
+ install -m 644 -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ install -m 644 -D contrib/bash/transcrypt "${pkgdir}/usr/share/bash-completion/completions/transcrypt"
+ install -m 644 -D contrib/zsh/_transcrypt "${pkgdir}/usr/share/zsh/site-functions/_transcrypt"
+}