diff options
author | saltedcoffii | 2020-11-26 10:27:54 -0500 |
---|---|---|
committer | saltedcoffii | 2020-11-26 10:27:54 -0500 |
commit | ca088c28e07e96bf37dc2dc173662535299857d2 (patch) | |
tree | bd17f0f2b9b5f9e7e2ac8527c8bfff5c0566b957 /PKGBUILD | |
parent | 178b6b6768787ca4b7d564114c3629b644fb55c0 (diff) | |
download | aur-ca088c28e07e96bf37dc2dc173662535299857d2.tar.gz |
Clone directly
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,6 @@ # Maintainer: saltedcoffii <55339220+saltedcoffii@users.noreply.github.com> pkgname=tgs-to-gif-cpp-git -pkgver=0.1 +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") @@ -9,11 +9,12 @@ 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") +source=("git+https://github.com/ed-asriyan/tgs-to-gif") +md5sums=("SKIP") build() { - cd "tgs-to-gif-$pkgver" + cd "tgs-to-gif" + git checkout master-cpp conan install . --build cmake CMakeLists.txt make @@ -21,6 +22,6 @@ build() { package() { mkdir -p $pkgdir/usr/bin/ - install tgs-to-gif-$pkgver/bin/tgs_to_gif $pkgdir/usr/bin/tgs-to-gif + install tgs-to-gif/bin/tgs_to_gif $pkgdir/usr/bin/tgs-to-gif ln -s $pkgdir/usr/bin/tgs-to-gif $pkgdir/usr/bin/tgs2gif } |