This commit is contained in:
Евгений Храмов 2022-10-25 16:10:24 +03:00
parent 0ca44f60c6
commit 55d0c398d6

@ -8,21 +8,16 @@ license=('GPLv3')
provides=('noisetorch')
conflicts=('noisetorch')
deps=('git go')
deps_amd64=('git go')
build_deps=('git' 'go')
sources=("https://github.com/${name}/NoiseTorch/releases/download/v${version}/NoiseTorch_x64_v${version}.tgz")
checksums=('skip')
sources_amd64=("https://github.com/${name}/NoiseTorch/releases/download/v${version}/NoiseTorch_x64_v${version}.tgz")
checksums_amd64=('skip')
prepare() {
cd "${srcdir}"
}
build() {
make
}
package() {
install -Dm755 ./.bin/noisetorch "${pkgdir}/usr/bin"
install -Dm644 ./assets/noisetorch.desktop "${pkgdir}/usr/share/applications/"