File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Maintainer: Mansour Behabadi <mansour@oxplot.com>
2
+
3
+ pkgname=pdfrankenstein
4
+ pkgver=0.9
5
+ pkgrel=2
6
+ pkgdesc=" PDF Annotator of Nightmares"
7
+ url=" https://github.com/oxplot/$pkgname "
8
+ arch=(" x86_64" )
9
+ license=(" BSD" )
10
+ makedepends=(" go>=1.18" " git" )
11
+ depends=(" inkscape" " qpdf" " poppler" )
12
+ source=(" git+https://github.com/oxplot/$pkgname #tag=v$pkgver " )
13
+ sha512sums=(' SKIP' )
14
+
15
+ build () {
16
+ cd " $pkgname "
17
+ go build -o $pkgname
18
+ }
19
+
20
+ package () {
21
+ cd " $pkgname "
22
+ install -Dm755 $pkgname " $pkgdir /usr/bin/$pkgname "
23
+ install -Dm644 LICENSE " $pkgdir /usr/share/licenses/$pkgname /LICENSE"
24
+ install -Dm0644 ${pkgname} .desktop -t " $pkgdir /usr/share/applications/"
25
+ install -Dm0644 icon.svg " $pkgdir /usr/share/icons/hicolor/scalable/apps/${pkgname} .svg"
26
+ }
You can’t perform that action at this time.
0 commit comments