blob: b167d7deb3c85733c32c3ed908b3642c57f2d026 (
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
|
# Maintainer: Sem Lindhout <capnhawkbill at airmail dot cc>
pkgname=torrentfind-git
pkgver=r2.43dc47f
pkgrel=1
pkgdesc="A cli tool that finds torrents on 1337x.to"
arch=('any')
url="https://gitlab.com/capnhawkbill/torrentfind"
license=('GPL')
groups=()
depends=()
makedepends=('git' 'cargo')
provides=("$pkgname")
conflicts=("$pkgname")
replaces=()
backup=()
options=()
install=
source=("$pkgname::git+https://gitlab.com/capnhawkbill/torrentfind.git")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
cargo build --release
}
package() {
cd "$srcdir/$pkgname"
install -Dm 755 target/release/torrentfind -t "${pkgdir}/usr/bin"
}
|