blob: a5a6bcd285bb176d4f15a01eedbbb8b810078362 (
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: orhun <orhunparmaksiz@gmail.com>
# https://github.com/orhun/pkgbuilds
pkgname=sic-image-cli-bin
_pkgname=sic
pkgver=0.22.4
pkgrel=1
pkgdesc="Accessible image processing and conversion from the terminal"
arch=('x86_64')
url="https://github.com/foresterre/sic"
license=('MIT')
depends=('gcc-libs')
conflicts=("$_pkgname" "${pkgname%-bin}")
provides=("${pkgname%-bin}")
source_x86_64=("$pkgname-$pkgver.tgz::$url/releases/download/v$pkgver/$_pkgname-x86_64-unknown-linux-gnu-v$pkgver.tgz"
"$pkgname-$pkgver-LICENSE-MIT::$url/raw/v$pkgver/LICENSE-MIT"
"$pkgname-$pkgver-README.md::$url/raw/v$pkgver/README.md")
sha512sums_x86_64=('65e915d7a0fa2a86b38b461a8b196dedfda8041e1a75a11d69c38b31659aa67a2348eb130e6a78c67dd75235b342f667c6eef766d5e8cda730d5ce5a5b2db4fc'
'76e93decfd32f274563a31310f0eb97588d27f4627cb09d117ec1acaf1e62925309161971ff5e10963c39fbda90bd007b341e304b1f37a58a07362828b23afb9'
'5fbfd673d454a5d492babaceedac46607fb049452d4e5555794db21139e7e92a6c6d8cdd1d6b3bd0ca9dc756b8c2c7edaeb9137062344866f7703485b2d498e0')
package() {
cd "$_pkgname-x86_64-unknown-linux-gnu-v$pkgver"
install -Dm 755 "$_pkgname" -t "${pkgdir}/usr/bin"
install -Dm 644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm 644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-MIT"
}
|