blob: 5d7be52826bf738904509e803daa189ad0125df9 (
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: Ramadan Ali (alicavus) <rot13: ezqa@ezqa.ny>
# Contributor: jthvai
pkgname=naps2
pkgver=8.1.2
pkgrel=1
pkgdesc="NAPS2 - Not Another PDF Scanner. Scan documents to PDF and more, as simply as possible."
arch=("aarch64" "x86_64")
url="https://www.naps2.com"
license=("GPL-2.0-or-later")
depends=("sane" "gtk3")
makedepends=("dotnet-sdk>=8.0.0" "dpkg" "ttf-liberation" "noto-fonts" "noto-fonts-cjk")
optdepends=(
"sane-airscan: airscan support"
)
options=("!strip" "!debug")
source=("$pkgname-$pkgver.tar.gz::https://github.com/cyanfish/$pkgname/archive/refs/tags/v${pkgver}.tar.gz")
b2sums=("4b6844c6c58fb35e83317a8a27f799c24426c680c682a2c24a940f286648df33d4630906e4711702f942a4ca68f420fa40312bac45e4823aee0cdd36c42d91c9")
build() {
cd "$pkgname-$pkgver"
dotnet run --project NAPS2.Tools pkg deb --nosign
}
package() {
cp -r $pkgname-$pkgver/**/**/deb/usr $pkgdir/usr
}
|