summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 74882194cae142cc0c801ef16306a7a307b8c8cb (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
# Maintainer: Jan Fidra <tkmxqrd@gmail.com>
pkgname=eclipselock
pkgver=1.0.0
pkgrel=1
pkgdesc="A command-line tool for file encryption using AES-256-CBC"
arch=('x86_64')
url="https://github.com/tkmxqrdxddd/EclipseLock"
license=('MIT')
depends=('openssl')
makedepends=('gcc' 'make')
source=("$pkgname-$pkgver.tar.gz::https://github.com/tkmxqrdxddd/EclipseLock/archive/v$pkgver.tar.gz"
        "LICENSE")
sha256sums=('SKIP'
            'SKIP')

build() {
    cd "EclipseLock-$pkgver"
    make
}

package() {
    cd "EclipseLock-$pkgver"
    install -Dm755 "bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
    install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}