diff options
author | Ralph Plawetzki | 2021-08-28 08:29:03 +0200 |
---|---|---|
committer | Ralph Plawetzki | 2021-08-28 08:29:03 +0200 |
commit | 3195981c029aa0a594f11748c60e5725dab3f5ce (patch) | |
tree | 64ae49147056b00d7fcc1f5d0ca4c24cff553ba6 | |
download | aur-3195981c029aa0a594f11748c60e5725dab3f5ce.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b9be915b1571 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = keepassxc-cryptomator + pkgdesc = Store Cryptomator vault passwords in KeePassXC + pkgver = 0.0.2 + pkgrel = 1 + url = https://plugin.purejava.org/ + arch = x86_64 + license = MIT + makedepends = maven + depends = java-environment=16 + depends = cryptomator + depends = keepassxc + options = !strip + source = keepassxc-cryptomator-0.0.2::https://github.com/purejava/keepassxc-cryptomator/archive/refs/tags/0.0.2.tar.gz + sha256sums = cfe68ed729cb21c580fd39c9c668c113d6654a91500e4a8efc22cce6ebe3ff64 + +pkgname = keepassxc-cryptomator diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..90749ccb2ff8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Ralph Plawetzki <ralph@purejava.org> + +pkgname=keepassxc-cryptomator +pkgver=0.0.2 +pkgrel=1 +pkgdesc="Store Cryptomator vault passwords in KeePassXC" +arch=('x86_64') +url="https://plugin.purejava.org/" +license=('MIT') +depends=('java-environment=16' 'cryptomator' 'keepassxc') +makedepends=('maven') +source=("keepassxc-cryptomator-${pkgver}::https://github.com/purejava/keepassxc-cryptomator/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('cfe68ed729cb21c580fd39c9c668c113d6654a91500e4a8efc22cce6ebe3ff64') +options=('!strip') + +build() { + cd "${srcdir}/keepassxc-cryptomator-${pkgver}" + mvn -B clean package --file pom.xml +} + +package() { + mkdir -p "${pkgdir}/opt/keepassxc-cryptomator/" + cp -R "${srcdir}/keepassxc-cryptomator-${pkgver}/target/keepassxc-cryptomator-${pkgver}.jar" ${pkgdir}/opt/keepassxc-cryptomator/ + + mkdir -p "${pkgdir}/usr/local/share/Cryptomator/plugins" + ln -s "/opt/keepassxc-cryptomator/keepassxc-cryptomator-${pkgver}.jar" "${pkgdir}/usr/local/share/Cryptomator/plugins/keepassxc-cryptomator-${pkgver}.jar" +} |