summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e010253ee86bb1f31856cf1189425038fcd5351c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# maintainer: <2k20@riseup.net> ילאָנאַ

pkgname=mtmigrate
pkgver=0.1.0
pkgrel=1
pkgdesc="mtmigrate (music torrent migrate) is a tool to help you with migrating your old data to a new torrent swarm."
arch=('armv6h' 'armv7h' 'aarch64' 'i686' 'x86_64')
url="https://github.com/ThomasColliers/mtmigrate"
license=('MIT')
groups=('gazelle-tools')
makedepends=('rust')
source=("git+https://github.com/ThomasColliers/mtmigrate")
md5sums=('SKIP')

build() {
    cd "${srcdir}"/"${pkgname}"
    cargo build --release
}

package() {
    cd "${srcdir}"/"${pkgname}"
    install -Dm 755 target/release/"${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}"
}