blob: 5b0a864b758a6d6e8ee41683d1020be438e726f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#Maintainer: Michael Mitchell <mmitc@protonmail.com>
pkgname=file-encryptor
pkgver=1.1.33
pkgrel=1
pkgdesc="User-freindly file-encryption tool"
arch=('any')
url="https://github.com/AWildBeard/FileEncryptor"
license=('Apache License 2.0')
depends=('jre8-openjdk' 'java-openjfx')
source=("https://github.com/AWildBeard/FileEncryptor/releases/download/v1.1.33/file-encryptor.tar")
md5sums=('3c7128118badca26a5b5b0188193ca6a')
package() {
mkdir -p "${pkgdir}/usr/share/fileencryptor"
install -Dm644 "${srcdir}/${pkgname}/fileEncryptor.jar" "${pkgdir}/usr/share/fileencryptor/fileEncryptor.jar"
mkdir -p "${pkgdir}/usr/share/applications/"
install -Dm644 "${srcdir}/${pkgname}/com.github.awildbeard.fileencryptor.desktop" "${pkgdir}/usr/share/applications/"
mkdir -p "${pkgdir}/usr/share/appdata"
install -Dm644 "${srcdir}/${pkgname}/com.github.awildbeard.fileencryptor.appdata.xml" "${pkgdir}/usr/share/appdata"
mkdir -p "${pkgdir}/usr/share/icons/hicolor/{128x182,32x32,48x48,64x64}/"
install -Dm755 "${srcdir}/${pkgname}/file-encryptor.128.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/file-encryptor.png"
install -Dm755 "${srcdir}/${pkgname}/file-encryptor.32.png" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/file-encryptor.png"
install -Dm755 "${srcdir}/${pkgname}/file-encryptor.48.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/file-encryptor.png"
install -Dm755 "${srcdir}/${pkgname}/file-encryptor.64.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/file-encryptor.png"
}
|