summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9d10176f10a2bd332f54f3799188913ccce4f62 (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: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> 

pkgname=mtmigrate
pkgver=0.1.0
pkgrel=4
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/nondescriptpointer/mtmigrate"
license=('MIT')
groups=('gazelle-tools')
makedepends=('rust' 'git')
source=("git+https://github.com/nondescriptpointer/mtmigrate")
md5sums=('SKIP')

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

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