summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3c6ae74239b35c1222bfd4690469b4143400ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: JackMacWindows <jackmacwindowslinux@gmail.com>
pkgname=sanjuuni-git
pkgver=0.2~43+7a7a3af
pkgrel=1
epoch=
pkgdesc="Converts images and videos into a format that can be displayed in ComputerCraft."
arch=('x86_64' 'i386' 'armv7l' 'armv7h' 'aarch64' 'powerpc' 'ppc64el' 's390x' 'riscv64' 'riscv32')
url="https://github.com/MCJack123/sanjuuni"
license=('GPL')
groups=()
depends=('ffmpeg' 'poco' 'zlib')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("sanjuuni::git+https://github.com/MCJack123/sanjuuni.git")
noextract=()
sha256sums=(SKIP)
validpgpkeys=()

prepare() {
	true
}

pkgver() {
    cd "sanjuuni"
    echo "$(curl -sL https://api.github.com/repos/MCJack123/sanjuuni/releases/latest | grep tag_name | grep -o '[0-9][^"]*')~$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)"
}

build() {
	cd "sanjuuni"
	./configure --prefix=/usr
	make
}

check() {
	true
}

package() {
	cd "sanjuuni"
	install -D -m 0755 sanjuuni "$pkgdir/usr/bin/sanjuuni"
}