blob: ce3bc58feb6a8109c7bf346c92b0649fc16d6977 (
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
|
# Maintainer: yjun <jerrysteve1101 at gmail dot com>
pkgname=python-waifu2x-vulkan
_gitname=${pkgname#python-}
pkgver=1.1.6
pkgrel=1
pkgdesc="waifu2x-ncnn-vulkan-python, use nihui/waifu2x-ncnn-vulkan"
arch=('x86_64')
url="https://github.com/tonquer/waifu2x-vulkan"
license=('MIT')
makedepends=('python-setuptools'
'cmake'
'git'
'glslang'
'vulkan-headers')
# need Vulkan driver for your GPU card
depends=('vulkan-icd-loader'
'vulkan-driver')
# source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${_gitname}-${pkgver}.tar.gz")
provides=('python-waifu2x-ncnn-vulkan')
conflicts=('python-waifu2x-ncnn-vulkan')
MAKEFLAGS=-j4
sha256sums=('f01dedd3d029d4572173c4e7f41604c302be682ac2fb5a9dbf1396f7b26687ba')
build() {
cd ${_gitname}-${pkgver}
python setup.py build
}
package() {
cd ${_gitname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}
# vim: ts=2 sw=2 et:
|