diff options
author | MCJack123 | 2022-09-21 18:03:00 -0400 |
---|---|---|
committer | MCJack123 | 2022-09-21 18:03:00 -0400 |
commit | fbefc5640c8b707e1528e4fcd167e84845d8d01d (patch) | |
tree | ec2a3338f8b0a9a2559207ed630d0735a4c32ece | |
download | aur-sanjuuni-ui-git.tar.gz |
first
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9075ffffd38d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = sanjuuni-ui-git + pkgdesc = GUI tool for sanjuuni, which converts images and videos into a format that can be displayed in ComputerCraft. + pkgver = 0.1~3+3a62e37 + pkgrel = 1 + url = https://github.com/MCJack123/sanjuuni-ui + arch = x86_64 + arch = i386 + arch = armv7l + arch = armv7h + arch = aarch64 + arch = powerpc + arch = ppc64el + arch = s390x + arch = riscv64 + arch = riscv32 + license = GPL + depends = qt5-base + depends = ffmpeg + depends = poco + depends = zlib + source = sanjuuni-ui::git+https://github.com/MCJack123/sanjuuni-ui.git + sha256sums = SKIP + +pkgname = sanjuuni-ui-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..483567a27895 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: JackMacWindows <jackmacwindowslinux@gmail.com> +pkgname=sanjuuni-ui-git +pkgver=0.1~3+3a62e37 +pkgrel=1 +epoch= +pkgdesc="GUI tool for sanjuuni, which 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-ui" +license=('GPL') +groups=() +depends=('qt5-base' 'ffmpeg' 'poco' 'zlib') +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("sanjuuni-ui::git+https://github.com/MCJack123/sanjuuni-ui.git") +noextract=() +sha256sums=(SKIP) +validpgpkeys=() + +prepare() { + cd "sanjuuni-ui" + git submodule update --init --recursive +} + +pkgver() { + cd "sanjuuni-ui" + #echo "$(curl -sL https://api.github.com/repos/MCJack123/sanjuuni-ui/releases/latest | grep tag_name | grep -o '[0-9][^"]*')~$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)" + echo "0.1~$(git rev-list --count HEAD)+$(git rev-parse --short HEAD)" +} + +build() { + cd "sanjuuni-ui" + mkdir -p build + cd build + # Prefer Qt 5 over Qt 6: this allows Breeze to work on KDE 5 systems where Qt 6 is installed + cmake -DCMAKE_FIND_PACKAGE_SORT_ORDER=NAME -DCMAKE_FIND_PACKAGE_SORT_DIRECTION=ASC .. + cmake --build . +} + +check() { + true +} + +package() { + cd "sanjuuni-ui/build" + install -D -m 0755 sanjuuni-ui "$pkgdir/usr/bin/sanjuuni-ui" +} |