blob: ad54b4c213c8694e932b7392ea96d4a1de51a25e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Wali Waqar <waliwaqars@gmail.com>
pkgname=pensela-bin
_pkgver=v1.2.5
pkgver=${_pkgver#v}
pkgrel=1
pkgdesc="The Swiss Army Knife of Screen Annotation Tools"
arch=('x86_64')
url="https://github.com/weiameili/Pensela"
license=('ISC')
conflicts=()
depends=('imagemagick')
_filename=pensela-${pkgver}.pacman
source=("$url/releases/download/${_pkgver}/${_filename}")
noextract=("${_filename}")
sha256sums=('2b5806ad1cadf28fbc2b2827bd9200b2de062b443a3628d735990a99c6674498')
options=(!strip)
package() {
tar -xJv -C "${pkgdir}" -f "${srcdir}/${_filename}" usr opt
mkdir "$pkgdir/usr/bin"
ln -s "/opt/Pensela/pensela" "$pkgdir/usr/bin/pensela"
}
|