blob: dc12b14f99c2eeb21903af92bae9c03c19737bb4 (
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
31
32
33
34
35
36
37
38
|
# Maintainer: LĂ©opold Koprivnik Ibghy <skwal.net@gmail.com>
pkgname="cow-encryptor-git"
pkgver=r6.43722fa
pkgrel=1
pkgdesc="Encrypt your files in cow language"
arch=('any')
url="https://github.com/SkwalExe/cow-encryptor"
license=('MIT')
makedepends=("git" "cargo")
provides=("cow-encryptor")
install=cow-encryptor.install
depends=("cow-translator-git")
source=("git+$url")
md5sums=("SKIP")
pkgver() {
cd cow-encryptor
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd cow-encryptor
}
build() {
cd cow-encryptor
cargo build --release
}
package() {
cd cow-encryptor
mkdir -p ${pkgdir}/opt/${pkgname}
cp -rf * ${pkgdir}/opt/${pkgname}
install -Dm755 ./target/release/cow-encryptor "$pkgdir/usr/bin/cow-encryptor"
install -Dm644 ./README.md "$pkgdir/usr/share/doc/$pkgname"
}
|