blob: 00e606bdbf6b6a6aeced9e8789fc383567544e17 (
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
|
# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
pkgname=effitask
pkgver=1.4.2
pkgrel=2
pkgdesc='Graphical task manager, based on the todo.txt format'
url="https://github.com/sanpii/$pkgname"
arch=('x86_64')
license=('MIT')
depends=('gtk3')
makedepends=('cargo' 'rust')
source=("$url/archive/$pkgver.tar.gz")
sha256sums=('1bbc5d0151e9b2a7b2da60d3125146091f03e31c3685ce9664cd0ff7eb38f7fc')
prepare()
{
cd "$srcdir/$pkgname-$pkgver"
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build()
{
cd "$pkgname-$pkgver"
cargo build --frozen --release
}
package()
{
cd "$pkgname-$pkgver"
make install PREFIX="$pkgdir/usr"
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|