blob: 4a79a78589ad7b5cc960d2923032272fc0a2fad4 (
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
36
37
38
39
40
41
|
# Maintainer: Jonathan Kotta <jpkotta@gmail.com>
_pkgname=starnet++
pkgname=starnet++-bin
pkgver=1.1
pkgrel=2
epoch=
pkgdesc="StarNet is a neural network that can remove stars from images in one simple step leaving only background."
arch=('x86_64')
url="https://sourceforge.net/projects/starnet/"
license=('APACHE')
groups=()
depends=("bash")
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=("https://newcontinuum.dl.sourceforge.net/project/starnet/v${pkgver}/StarNet_Linux.tar.gz"
launcher.sh)
md5sums=('454cfa616bf8ade6a28bf1ada5f27429'
'18f003a03999ae8dd4a65225cab205c7')
noextract=()
validpgpkeys=()
package() {
cd "release"
#install -D LICENSE /usr/share/licenses/$pkgname/LICENSE
dest="$pkgdir/usr/lib/${pkgname}"
install -D -t "$dest" -m 644 *.pb *.so.? README.txt
install -D -t "$dest" -m 755 mono_starnet++ rgb_starnet++
cd "$srcdir"
sed -i "s/__PKGNAME__/$pkgname/" launcher.sh
install -D -m 755 launcher.sh "$pkgdir"/usr/bin/starnet-rgb
install -D -m 755 launcher.sh "$pkgdir"/usr/bin/starnet-mono
}
|