diff options
author | saltedcoffii | 2020-11-25 19:48:02 -0500 |
---|---|---|
committer | saltedcoffii | 2020-11-25 19:48:02 -0500 |
commit | 178b6b6768787ca4b7d564114c3629b644fb55c0 (patch) | |
tree | 3200467d3d222de8f85ece08fb8f5bd4a3ae65dc | |
download | aur-178b6b6768787ca4b7d564114c3629b644fb55c0.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ac5c03525da5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = tgs-to-gif-cpp-git + pkgdesc = Animated stickers for Telegram (*.tgs) to animated GIFs converter, c++ version + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/ed-asriyan/tgs-to-gif + arch = x86_64 + arch = i386 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = MIT + makedepends = conan + makedepends = cmake + depends = rlottie-tdesktop + source = https://github.com/saltedcoffii/tgs-to-gif/archive/0.1.tar.gz + md5sums = 55d9b518cec58a9cc226a54aadae3851 + +pkgname = tgs-to-gif-cpp-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..09e2dc5b97e9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: saltedcoffii <55339220+saltedcoffii@users.noreply.github.com> +pkgname=tgs-to-gif-cpp-git +pkgver=0.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=("https://github.com/saltedcoffii/tgs-to-gif/archive/$pkgver.tar.gz") +md5sums=("55d9b518cec58a9cc226a54aadae3851") + +build() { + cd "tgs-to-gif-$pkgver" + conan install . --build + cmake CMakeLists.txt + make +} + +package() { + mkdir -p $pkgdir/usr/bin/ + install tgs-to-gif-$pkgver/bin/tgs_to_gif $pkgdir/usr/bin/tgs-to-gif + ln -s $pkgdir/usr/bin/tgs-to-gif $pkgdir/usr/bin/tgs2gif +} |