blob: c19d46b63b1843081ffd074f675bad3d73f7bfc5 (
plain) (
blame)
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
|
# Maintainer: kj_sh604 <406hs_jk@proton.me>
pkgname=gimp-batcher-kj_sh604
pkgver=1.2
pkgrel=1
pkgdesc="A batch processing plugin for the new generation of GIMP"
arch=('i686' 'x86_64')
url="https://github.com/kamilburda/batcher"
license=('BSD')
depends=('gimp>=3.0' 'python>=3.7' 'python-gobject')
makedepends=('unzip')
# convert pkgver: replace underscores with hyphens for url usage
#_sourcever=${pkgver//_/-}
_sourcever=${pkgver}
source=("https://github.com/kamilburda/batcher/releases/download/${_sourcever}/batcher-${_sourcever}.zip")
sha256sums=('5fa39cd7d7d3827f776ac87f311999b7bea960e9e163cd636af2599db739b9a5')
prepare() {
cd "$srcdir"
unzip "batcher-${_sourcever}.zip" -d batcher
}
package() {
install -d "$pkgdir/usr/lib/gimp/3.0/plug-ins"
cp -r "$srcdir/batcher/batcher" "$pkgdir/usr/lib/gimp/3.0/plug-ins/"
}
|