blob: 9b6dd06fcad33aadfef4239b6901e83499d6d574 (
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: Mansour Behabadi <mansour@oxplot.com>
pkgname=pdfrankenstein
pkgver=1
pkgrel=1
pkgdesc="PDF Annotator of Nightmares"
url="https://github.com/oxplot/$pkgname"
arch=("x86_64")
license=("BSD")
makedepends=("go>=1.18" "git")
depends=("inkscape" "qpdf" "poppler")
source=("git+https://github.com/oxplot/$pkgname#tag=v$pkgver")
sha512sums=('SKIP')
build() {
cd "$pkgname"
go build -o $pkgname
}
package() {
cd "$pkgname"
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm0644 ${pkgname}.desktop -t "$pkgdir/usr/share/applications/"
install -Dm0644 icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
}
|