blob: 26e42cf839ca1d5c4e8c73e43f6f63c926aa4a95 (
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
|
# Maintainer: picked name <ipickedaname@mail.com>
pkgname=heca
pkgver=1.5.0
pkgrel=1
makedepends=('rust' 'cargo')
depends=('gcc-libs')
arch=('i686' 'x86_64')
pkgdesc="Hebrew calendar utility"
license=('MIT')
url="https://github.com/heca-project/heca"
source=("https://github.com/heca-project/heca/archive/v${pkgver}.tar.gz")
md5sums=('e3d5889af0d4dd107a328a4f7abf91fe')
check() {
cd $srcdir/"heca-${pkgver}"
cargo test --release --locked
}
build() {
cd $srcdir/"heca-${pkgver}"
cargo build --locked --release
}
package() {
cd $srcdir/"heca-${pkgver}"
find . -name ".crates.toml"
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
mkdir -p $pkgdir/usr/share/licenses/heca
install ./LICENSE $pkgdir/usr/share/licenses/heca/LICENSE
}
|