summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 140bfc4680d118182df5d0cb5d31012d62d6e7ef (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
# Maintainer: Linus Karlsson <arch@linuskarlsson.se>
pkgname=filecryptify
pkgver=1.0.3
pkgrel=2
epoch=
pkgdesc="Simple symmetric file encrypting utility based on libsodium."
arch=('x86_64')
url="https://github.com/zozs/filecryptify"
license=('ISC')
depends=(libsodium)
makedepends=(bmake)
source=("https://github.com/zozs/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('0248ebb51c791f4285940f29f433a43ac3777771300a5c6ec7b4544e40d0dd5e')

prepare() {
	cd "$pkgname-$pkgver"
}

build() {
	cd "$pkgname-$pkgver"
	bmake VERSION="$pkgver"
}

package() {
	cd "$pkgname-$pkgver"
	bmake DESTDIR="$pkgdir" PREFIX="/usr" MANDIR="share/man" VERSION="$pkgver" install
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}