diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = tgs-to-gif-cpp-git pkgdesc = Animated stickers for Telegram (*.tgs) to animated GIFs converter, c++ version - pkgver = 0.1 + pkgver = 0.1.1 pkgrel = 1 url = https://github.com/ed-asriyan/tgs-to-gif arch = x86_64 @@ -13,8 +13,8 @@ pkgbase = tgs-to-gif-cpp-git makedepends = conan makedepends = cmake depends = rlottie-tdesktop - source = https://github.com/saltedcoffii/tgs-to-gif/archive/0.1.tar.gz - md5sums = 55d9b518cec58a9cc226a54aadae3851 + source = git+https://github.com/ed-asriyan/tgs-to-gif + md5sums = SKIP pkgname = tgs-to-gif-cpp-git @@ -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 } |