blob: 9153a5b29a1b10038d540ab46d39a7f79807e1db (
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
28
29
30
31
32
33
34
35
|
# Maintainer: BlindingDark <blindingdark@outlook.com>
pkgname=tgs2png-git
_pkgname=tgs2png
pkgver=69e3605
pkgrel=1
pkgdesc="Convert Telegram's animated stickers in TGS format into series of PNG images."
url="https://github.com/zevlg/tgs2png"
depends=(libpng rlottie)
makedepends=(git cmake)
arch=(x86_64)
license=(GPL3)
provides=(tgs2png)
conflicts=(tgs2png)
source=("git+https://github.com/zevlg/tgs2png")
sha256sums=(SKIP)
pkgver() {
cd $_pkgname
git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_pkgname
mkdir build
cd build
cmake ..
make
}
package() {
cd "$_pkgname/build"
install -Dm755 $_pkgname "$pkgdir/usr/bin/$_pkgname"
}
|