summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb9a38c3c63c9b1c3f1f3f7a9935b54751e55c52 (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: BadBoy <luckmelove2@gmail.com>

pkgname='kgm-decoder'
pkgver='0.1'
pkgrel='0'
pkgdesc='一个将酷狗缓存歌曲文件和下载的单曲收费歌曲文件转码为 MP3 的工具。'
arch=('any')
license=('Anti 996')
url='https://github.com/ghtz08/kuguo-kgm-decoder'
makedepends=('rust')

source=("git+${url}.git")
sha256sums=('SKIP')

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


package() {
    install -Dm755 "${srcdir}/kuguo-${pkgname}/target/release/${pkgname}" -t "${pkgdir}/usr/local/bin"
}