summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73686d6d9a1ee4816435a3f9f93c45d7490ae9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Maintainer: Daniil Cherkovskii <daniillatteru@gmail.com>
pkgname="tnoodle-cli"
pkgver="1.0.0"
pkgrel=3
pkgdesc="Generate WCA scrambles for the Rubik's Cube and other twisty puzzles on the command line! // Unofficial Package"
arch=("x86_64")
depends=("java-runtime")
license=("GPL-3.0")
source=("https://github.com/SpeedcuberOSS/tnoodle-cli/releases/download/v1.0.0/tnoodle-cli-1.0.0.jar" "tnoodle.sh")
sha256sums=("8e2f7e2e61493463d12bba3ab9d43bfa1bbf9674910c1ffa99788c125512036e" "f92a754f2ebb51ea2e843056b23c8f6ef1669931276de9462e0427db87035cdd")

package() {
	install -D -m 755 "${srcdir}/tnoodle-cli-1.0.0.jar" "${pkgdir}/usr/share/tnoodlecli/tnoodle.jar"
	install -D -m 755 "${srcdir}/tnoodle.sh" "${pkgdir}/usr/bin/tnoodle"
	chmod +x "${pkgdir}/usr/bin/tnoodle"
}