Skip to content

Commit 4025637

Browse files
committed
Add distro package specs
1 parent f66bcfb commit 4025637

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

dist/archlinux/PKGBUILD

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
}

0 commit comments

Comments
 (0)