blob: e0f4afbff22d9e5c7ad1437996a4960c5cd8d93c (
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
|
# Maintainer: saltedcoffii <55339220+saltedcoffii@users.noreply.github.com>
pkgname=tgs-to-gif-cpp-git
pkgver=0.1.1
pkgrel=1
pkgdesc="Animated stickers for Telegram (*.tgs) to animated GIFs converter, c++ version"
arch=("x86_64" "i386" "arm" "armv6h" "armv7h" "aarch64")
url="https://github.com/ed-asriyan/tgs-to-gif"
license=('MIT')
depends=('rlottie-tdesktop')
# The package 'rlottie-git' also works but I don't know the syntax to allow the user choice. Please help patch this.
makedepends=('conan' 'cmake')
source=("git+https://github.com/ed-asriyan/tgs-to-gif")
md5sums=("SKIP")
build() {
cd "tgs-to-gif"
git checkout master-cpp
conan install . --build
cmake CMakeLists.txt
make
}
package() {
mkdir -p $pkgdir/usr/bin/
install tgs-to-gif/bin/tgs_to_gif $pkgdir/usr/bin/tgs-to-gif
ln -sv $pkgdir/usr/bin/tgs-to-gif $pkgdir/usr/bin/tgs2gif
}
|